Summery Summery
Registers a navigation menu location for a theme.
Syntax Syntax
Parameters Parameters
- $location
-
(Required) Menu location identifier, like a slug.
- $description
-
(Required) Menu location descriptive text.
Source Source
File: wp-includes/nav-menu.php
*/ function register_nav_menu( $location, $description ) { register_nav_menus( array( $location => $description ) );
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |