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

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-01-21 20:11:11 +00:00
parent 79391187c9
commit 1bf8b94129

View File

@@ -43,7 +43,8 @@ require_once ABSPATH . WPINC . '/class-walker-nav-menu.php';
* Uses printf() format with numbered placeholders.
* @type string $item_spacing Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'preserve'.
* }
* @return string|false|void Menu output if $echo is false, false if there are no items or no menu was found.
* @return void|string|false Void if 'echo' argument is true, menu output if 'echo' is false.
* False if there are no items or no menu was found.
*/
function wp_nav_menu( $args = array() ) {
static $menu_id_slugs = array();