register_nav_menu

Advertisement

Summery Summery

Registers a navigation menu location for a theme.

Syntax Syntax

register_nav_menu( string $location, string $description )

Parameters Parameters

$location

(string) (Required) Menu location identifier, like a slug.

$description

(string) (Required) Menu location descriptive text.

Source Source

File: wp-includes/nav-menu.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.