register_nav_menus

Advertisement

Summery Summery

Registers navigation menu locations for a theme.

Syntax Syntax

register_nav_menus( array $locations = array() )

Parameters Parameters

$locations

(array) (Optional) Associative array of menu location identifiers (like a slug) and descriptive text.

Default value: array()

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.