wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



block_core_navigation_render_fallback › WordPress Filter Hooks

Da5.9.0
Deprecaton/a
› apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks )
Parametri:
  • () fallback_blocks default fallback blocks provided by the default block mechanic.
    Richiesto: Sì
Definito a:
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.




Sorgenti

return apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks );