apply_filters( 'has_nav_menu', bool $has_nav_menu, string $location )

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

Description Description

Parameters Parameters


(bool) Whether there is a menu assigned to a location.


(string) Menu location.

Top ↑

Source Source

File: wp-includes/nav-menu.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.