has_nav_menu
最后更新于:2021-11-27 00:37:04
apply_filters( ‘has_nav_menu’, bool $has_nav_menu, string $location )
Filters whether a nav menu is assigned to the specified location.
参数
- $has_nav_menu
-
(bool)
Whether there is a menu assigned to a location. - $location
-
(string)
Menu location.
源文件
文件: gc-includes/nav-menu.php