Changeset 29868
- Timestamp:
- 10/10/2014 05:13:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r29796 r29868 514 514 515 515 /** 516 * Returns if a menu item is valid. Bug #13958 516 * Return if a menu item is valid. 517 * 518 * @link https://core.trac.wordpress.org/ticket/13958 517 519 * 518 520 * @since 3.2.0 519 521 * @access private 520 522 * 521 * @param object $ menu_item The menu item to check522 * @return bool false if invalid, else true.523 * @param object $item The menu item to check. 524 * @return bool False if invalid, otherwise true. 523 525 */ 524 526 function _is_valid_nav_menu_item( $item ) { … … 530 532 531 533 /** 532 * Return sall menu items of a navigation menu.533 * 534 * @since 3.0.0 535 * 536 * @param string $menu menu name, id, or slug537 * @param string $args538 * @return mixed $items array of menu items, else false.534 * Return all menu items of a navigation menu. 535 * 536 * @since 3.0.0 537 * 538 * @param string $menu Menu name, ID, or slug. 539 * @param array $args Optional. Arguments to pass to {@see get_posts()}. 540 * @return mixed $items Array of menu items, otherwise false. 539 541 */ 540 542 function wp_get_nav_menu_items( $menu, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.