block_core_navigation_listable_blocks

block_core_navigation_listable_blocks

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_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.