wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



block_core_navigation_render_fallback › Les Filtres WordPress

Depuis5.9.0
Dépréciéen/a
› apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks )
Paramètres:
  • () fallback_blocks default fallback blocks provided by the default block mechanic.
    Requis: Oui
Défini(e) dans:
Codex:

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.




Source

return apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks );