add_dashboard_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@9760 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
53ef19ae13
commit
a7d7039e84
@ -644,6 +644,10 @@ function add_users_page( $page_title, $menu_title, $access_level, $file, $functi
|
||||
return add_submenu_page( $parent, $page_title, $menu_title, $access_level, $file, $function );
|
||||
}
|
||||
|
||||
function add_dashboard_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
|
||||
return add_submenu_page( 'index.php', $page_title, $menu_title, $access_level, $file, $function );
|
||||
}
|
||||
|
||||
function add_posts_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
|
||||
return add_submenu_page( 'posts-new.php', $page_title, $menu_title, $access_level, $file, $function );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user