block_core_navigation_get_post_ids


block_core_navigation_get_post_ids ( $inner_blocks )

Parameters:
  • (WP_Block_List) inner_blocks Block list class instance.
Returns:
  • (array) Array of post IDs.
Defined at:

Description

Iterate through all inner blocks recursively and get navigation link block's post IDs.

Related Functions

block_core_navigation_from_block_get_post_ids, block_core_navigation_get_fallback_blocks, block_core_navigation_insert_hooked_blocks, block_core_navigation_filter_out_empty_blocks, block_core_navigation_render_submenu_icon

Top Google Results

User discussions

wpseek mobile