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_filter_out_empty_blocks, block_core_navigation_render_submenu_icon, block_core_navigation_build_css_font_sizes

Top Google Results

User discussions

wpseek mobile