_is_valid_nav_menu_item

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

Return if a menu item is valid.

Syntax

_is_valid_nav_menu_item( object $item )

ParametersParameters

$item

(object) (Required) The menu item to check.

ReturnReturn

(bool) False if invalid, otherwise true.

SourceSource

File: wp-includes/nav-menu.php


			

ChangelogChangelog

Changelog
Version Description
3.2.0 Introduced.
Scroll to Top