Enter your keyword

Blog

How to Register a Custom Menu in Wordpress Admin

function register_my_custom_menu_page(){
add_menu_page('custom menu title', 'custom menu', 'manage_options', 'myplugin/myplugin-admin.php', '', 'dashicons-admin-site', 6 );
}
add_action( 'admin_menu', 'register_my_custom_menu_page' );

No Comments

Add your review

Your email address will not be published.

* Feilds are Required.