unregister_nav_menu

Advertisement

Summery Summery

Unregisters a navigation menu location for a theme.

Syntax Syntax

unregister_nav_menu( string $location )

Parameters Parameters

$location

(string) (Required) The menu location identifier.

Return Return

(bool) True on success, false on failure.

Source Source

File: wp-includes/nav-menu.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply

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