wpseek.com
A WordPress-centric search engine for devs and theme authors



_is_valid_nav_menu_item › WordPress Function

Since3.2.0
Deprecatedn/a
_is_valid_nav_menu_item ( $item )
Access:
  • private
Parameters:
  • (object) $item The menu item to check.
    Required: Yes
Links:
Returns:
  • (bool) False if invalid, otherwise true.
Defined at:
Codex:

Determines whether a menu item is valid.



Source

function _is_valid_nav_menu_item( $item ) {
	return empty( $item->_invalid );
}