wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



block_core_navigation_render_fallback › Filtr WordPress Hooks

Od5.9.0
Przestarzałyn/a
› apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks )
Parametry:
  • () fallback_blocks default fallback blocks provided by the default block mechanic.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

return apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks );