Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add custom dashboard menu page for editing a page
// ****************************************************
// Add custom dashboard menu page for editing a page
// ****************************************************
add_action( 'admin_menu', 'register_my_custom_menu_page' );
function register_my_custom_menu_page(){
add_menu_page( 'Me ja In English osiot', 'Muokkaa Me ja In English osioita', 'edit_pages', 'post.php?post=13&action=edit', '', '', 15 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment