gutenberg_navigation_should_create_fallback
gutenberg_navigation_should_create_fallback
Appears in: gutenberg.16.2.1, gutenberg.16.5.0, gutenberg.16.5.1, gutenberg.16.6.0, gutenberg.16.8.1, gutenberg.16.9.0, gutenberg.17.0.2, gutenberg.17.1.2
Hook Type: filter
Displaying hooks found in version: gutenberg.17.1.2apply_filters('gutenberg_navigation_should_create_fallback') is found 1 times:
- /lib/compat/wordpress-6.3/class-gutenberg-navigation-fallback.php line 33
* @since 6.3.0 * * @param bool Whether or not to create a fallback. */ $should_create_fallback = apply_filters( 'gutenberg_navigation_should_create_fallback', true ); $fallback = static::get_most_recently_published_navigation(); if ( $fallback || ! $should_create_fallback ) { return $fallback; }