apply_filters( 'wp_get_nav_menu_name', string $menu_name, string $location )

Filters the navigation menu name being returned.


Parameters

$menu_name

Menu name.

$location

Menu location identifier.


Source

File: wp-includes/nav-menu.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.0 Introduced.