WordPress.org

Make WordPress Core

Changeset 47097


Ignore:
Timestamp:
01/21/2020 08:11:11 PM (6 months ago)
Author:
SergeyBiryukov
Message:

Docs: Expand @return value description for wp_nav_menu().

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu-template.php

    r46596 r47097  
    4444 *     @type string             $item_spacing    Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'preserve'.
    4545 * }
    46  * @return string|false|void Menu output if $echo is false, false if there are no items or no menu was found.
     46 * @return void|string|false Void if 'echo' argument is true, menu output if 'echo' is false.
     47 *                           False if there are no items or no menu was found.
    4748 */
    4849function wp_nav_menu( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.