wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



block_core_navigation_render_fallback › Hooks de Filtros WordPress

Desde5.9.0
Obsoleton/a
› apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks )
Parâmetros:
  • () fallback_blocks default fallback blocks provided by the default block mechanic.
    Required: Yes
Definido em:
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.




Fonte

return apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks );