mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
add_dashboard_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@9760 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user