add_dashboard_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3fc11304a5
commit
19e9168c84
|
@ -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