_is_valid_nav_menu_item( object $item )
Return if a menu item is valid.
Parameters
- $item
-
(object) (Required) The menu item to check.
Return
(bool) False if invalid, otherwise true.
Source
File: wp-includes/nav-menu.php
function _is_valid_nav_menu_item( $item ) { return empty( $item->_invalid ); }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |