WordPress at a glance
filter is not described

has_nav_menu filter-hook . WP 4.3.0

Filters whether a nav menu is assigned to the specified location.


add_filter( 'has_nav_menu', 'filter_function_name_3479', 10, 2 );
function filter_function_name_3479( $has_nav_menu, $location ){
	// filter...

	return $has_nav_menu;
Whether there is a menu assigned to a location.
Menu location.

Where the hook is called

wp-includes/nav-menu.php 187
return apply_filters( 'has_nav_menu', $has_nav_menu, $location );

Where the hook is used (in WP core)

Использование не найдено.