apply_filters( ‘wp_navigation_should_create_fallback’, bool $create )

In this article

Filters whether or not a fallback should be created.

Parameters

$createbool
Whether to create a fallback navigation menu. Default true.

Source

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

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.