Docs: Wrap a couple of hook name references in inline @see
tags in the hook docs for custom_menu_order
and menu_order
.
Inline `@see` tags in the context of hooks are parsed as links to hook pages in the Code Reference. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c8019610c8
commit
ff65d77908
@ -258,7 +258,7 @@ uksort($menu, "strnatcasecmp"); // make it all pretty
|
||||
/**
|
||||
* Filter whether to enable custom ordering of the administration menu.
|
||||
*
|
||||
* See the 'menu_order' filter for reordering menu items.
|
||||
* See the {@see 'menu_order'} filter for reordering menu items.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
@ -275,7 +275,7 @@ if ( apply_filters( 'custom_menu_order', false ) ) {
|
||||
/**
|
||||
* Filter the order of administration menu items.
|
||||
*
|
||||
* A truthy value must first be passed to the 'custom_menu_order' filter
|
||||
* A truthy value must first be passed to the {@see 'custom_menu_order'} filter
|
||||
* for this filter to work. Use the following to enable custom menu ordering:
|
||||
*
|
||||
* add_filter( 'custom_menu_order', '__return_true' );
|
||||
|
Loading…
Reference in New Issue
Block a user