mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Correct @return value type for wp_nav_menu().
Props chesio. Fixes #39890. git-svn-id: https://develop.svn.wordpress.org/trunk@40062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3d5e1c6c8
commit
beb9d91279
@ -43,7 +43,7 @@ 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 object|false|void Menu output if $echo is false, false if there are no items or no menu was found.
|
||||
* @return string|false|void 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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user