Route add_management_page() to Tools menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43cb4be063
commit
a5f7935d8b
|
@ -556,7 +556,7 @@ function add_submenu_page( $parent, $page_title, $menu_title, $access_level, $fi
|
||||||
* @return unknown
|
* @return unknown
|
||||||
*/
|
*/
|
||||||
function add_management_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
|
function add_management_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
|
||||||
return add_submenu_page( 'edit.php', $page_title, $menu_title, $access_level, $file, $function );
|
return add_submenu_page( 'import.php', $page_title, $menu_title, $access_level, $file, $function );
|
||||||
}
|
}
|
||||||
|
|
||||||
function add_options_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
|
function add_options_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
|
||||||
|
|
Loading…
Reference in New Issue