wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_navigation_should_create_fallback › WordPress Filter Hooks

Since6.3.0
Deprecatedn/a
apply_filters( 'wp_navigation_should_create_fallback', true )
Parameters:
  • (bool) $create Whether to create a fallback navigation menu. Default true.
    Required: Yes
Defined at:
Codex:

Filters whether or not a fallback should be created.





Source

$should_create_fallback = apply_filters( 'wp_navigation_should_create_fallback', true );