4.1 Docs Audit: Formatting, line-wrap, and other fixes for the wp_get_nav_menus()
DocBlock.
See #30469. git-svn-id: https://develop.svn.wordpress.org/trunk@30619 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
15bc7024c4
commit
72d761f0b1
@ -456,10 +456,12 @@ function wp_update_nav_menu_item( $menu_id = 0, $menu_item_db_id = 0, $menu_item
|
|||||||
* Returns all navigation menu objects.
|
* Returns all navigation menu objects.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @since 4.1.0 Default 'orderby' argument changed from 'none' to 'name'.
|
* @since 4.1.0 Default value of the 'orderby' argument was changed from 'none'
|
||||||
|
* to 'name'.
|
||||||
*
|
*
|
||||||
* @param array $args Array of arguments passed on to get_terms().
|
* @param array $args Optional. Array of arguments passed on to {@see get_terms()}.
|
||||||
* @return array menu objects
|
* Default empty array.
|
||||||
|
* @return array Menu objects.
|
||||||
*/
|
*/
|
||||||
function wp_get_nav_menus( $args = array() ) {
|
function wp_get_nav_menus( $args = array() ) {
|
||||||
$defaults = array( 'hide_empty' => false, 'orderby' => 'name' );
|
$defaults = array( 'hide_empty' => false, 'orderby' => 'name' );
|
||||||
|
Loading…
Reference in New Issue
Block a user