I want to create a new page in my plugin named as custompage
I dont want to add page in Main Menu list..
If it's possible???
I want to create a new page in my plugin named as custompage
I dont want to add page in Main Menu list..
If it's possible???
try this
add_action( 'admin_menu', 'register_newpage' );
function register_newpage(){
add_menu_page('custom_page', 'custom', 'administrator','custom', 'custompage');
remove_menu_page('custom');
}