wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_nav_menu_name › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'wp_get_nav_menu_name', $menu_name, $location )
Parameters: (2)
  • (string) $menu_name Menu name.
    Required: Yes
  • (string) $location Menu location identifier.
    Required: Yes
Defined at:
Codex:

Filters the navigation menu name being returned.





Source

return apply_filters( 'wp_get_nav_menu_name', $menu_name, $location );