wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



has_nav_menu › WordPress Filter Hooks

Da4.3.0
Deprecaton/a
› apply_filters( 'has_nav_menu', $has_nav_menu, $location )
Parametri: (2)
  • () has_nav_menu Whether there is a menu assigned to a location.
    Richiesto: Sì
  • () location Menu location.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

return apply_filters( 'has_nav_menu', $has_nav_menu, $location );