Switch language

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




_is_valid_nav_menu_item [ WordPress Function ]

_is_valid_nav_menu_item ( $item )
Access:
  • private
Parameters:
  • (object) $menu_item The menu item to check
Returns:
  • (bool) false if invalid, else true.
Defined at:



Returns if a menu item is valid. Bug #13958

Source


<?php
function _is_valid_nav_menu_item$item ) {
    if ( ! empty( 
$item->_invalid ) )
        return 
false;

    return 
true;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics