Docs: Correct DocBlock descriptions for the $before
, $after
, $link_before
, and $link_after
arguments for wp_nav_menu()
.
* `$before` falls before the link markup starts * `$after` falls after the link markup ends * `$link_before` falls before the link text * `$link_after` falls after the link text Props wp_smith for the initial patch. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@37561 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
32418ef8ed
commit
ba9e51c4a5
@ -235,10 +235,10 @@ class Walker_Nav_Menu extends Walker {
|
||||
* @type string $container_id The ID that is applied to the container. Default empty.
|
||||
* @type callable|bool $fallback_cb If the menu doesn't exists, a callback function will fire.
|
||||
* Default is 'wp_page_menu'. Set to false for no fallback.
|
||||
* @type string $before Text before the link text. Default empty.
|
||||
* @type string $after Text after the link text. Default empty.
|
||||
* @type string $link_before Text before the link. Default empty.
|
||||
* @type string $link_after Text after the link. Default empty.
|
||||
* @type string $before Text before the link markup. Default empty.
|
||||
* @type string $after Text after the link markup. Default empty.
|
||||
* @type string $link_before Text before the link text. Default empty.
|
||||
* @type string $link_after Text after the link text. Default empty.
|
||||
* @type bool $echo Whether to echo the menu or return it. Default true.
|
||||
* @type int $depth How many levels of the hierarchy are to be included. 0 means all. Default 0.
|
||||
* @type object $walker Instance of a custom walker class. Default empty.
|
||||
|
Loading…
Reference in New Issue
Block a user