- I created a new plugin including a admin menu (add_menu_page)
- I created also a new role "my_plugin_admin_role" Now I would like to add my plugin menu only to my new role. How can'I do this.
Sorry for my bad English.
Sorry for my bad English.
Add capability for you new role and use this capability in add_menu_page.
you can use this referral link