Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/nav-menu.php | apply_filters | 195 | /** * Filters whether a nav menu is assigned to the specified location. * * @since 4.3.0 * * @param bool $has_nav_menu Whether there is a menu assigned to a location. * @param string $location Menu location. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $has_nav_menu | Whether there is a menu assigned to a location. |
string | $location | Menu location. |