WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about block_core_navigation_render_fallback

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/blocks/navigation.php apply_filters 342 /**
* Filters the fallback experience for the Navigation block.
*
* Returning a falsey value will opt out of the fallback and cause the block not to render.
* To customise the blocks provided return an array of blocks - these should be valid
* children of the `core/navigation` block.
*
* @since 5.9.0
*
* @param array[] default fallback blocks provided by the default block mechanic.
*/

Hook Parameters

Parameter Type Name Description