WordPress at a glance
filter is not described

wp_get_nav_menu_name filter-hook . WP 4.9.0

Filters the navigation menu name being returned.

Usage

add_filter( 'wp_get_nav_menu_name', 'filter_function_name_9709', 10, 2 );
function filter_function_name_9709( $menu_name, $location ){
	// filter...

	return $menu_name;
}
$menu_name(string)
Menu name.
$location(string)
Menu location identifier.

Where the hook is called

wp_get_nav_menu_name()
wp_get_nav_menu_name
wp-includes/nav-menu.php 219
return apply_filters( 'wp_get_nav_menu_name', $menu_name, $location );

Where the hook is used (in WP core)

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