block_core_navigation_listable_blocks
block_core_navigation_listable_blocks
Appears in: gutenberg.17.7.0, gutenberg.17.8.0, gutenberg.17.8.2, gutenberg.17.9.0, gutenberg.18.2.0, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3
Hook Type: filter
Displaying hooks found in version: wordpress-6.5.3apply_filters('block_core_navigation_listable_blocks') is found 1 times:
- /wp-includes/blocks/navigation.php line 121
* * @param array $needs_list_item_wrapper The list of blocks that need a list item wrapper. * @return array The list of blocks that need a list item wrapper. */ $needs_list_item_wrapper = apply_filters( 'block_core_navigation_listable_blocks', static::$needs_list_item_wrapper ); return in_array( $block->name, $needs_list_item_wrapper, true ); } /** * Returns the markup for a single inner block.