Filters whether a nav menu is assigned to the specified location.
$locationstringwp-includes/nav-menu.php:195has_nav_menu() * * @since 4.3.0 * * @param bool $has_nav_menu Whether there is a menu assigned to a location. * @param string $location Menu location. */ return apply_filters( 'has_nav_menu', $has_nav_menu, $location );} /** * Returns the name of a navigation menu. * * @since 4.9.0Introduced in 4.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.