_nav_menu_item_id_use_once

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

Prevents a menu item ID from being used more than once.

Syntax

_nav_menu_item_id_use_once( string $id, object $item )

ParametersParameters

$id

(string) (Required)

$item

(object) (Required)

ReturnReturn

(string)

SourceSource

File: wp-includes/nav-menu-template.php


			

ChangelogChangelog

Changelog
Version Description
3.0.1 Introduced.
Scroll to Top