Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_get_nav_menu_name ›

Desde4.9.0
Obsoleton/a
apply_filters( 'wp_get_nav_menu_name', $menu_name, $location )
Parâmetros: (2)
  • (string) $menu_name Menu name.
    Required: Yes
  • (string) $location Menu location identifier.
    Required: Yes
Definido em:
Codex:

Filters the navigation menu name being returned.





Fonte

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