Hey there!
Thanks for your suggestion. We still need to add a menu in the admin bar. We have a few more plugins, and any user who uses more than one of our plugins or settings will see them under the ‘Codeixer’ menu, making it easy to navigate between them.
You can use this code in your child theme functions.php to hide the menu
/**
* Removes some menus by page.
* https://developer.wordpress.org/reference/functions/remove_menu_page/
*/
function wpdocs_remove_menus(){
remove_menu_page( 'codeixer' ); //Dashboard
}
add_action( 'admin_menu', 'wpdocs_remove_menus' );
I disagree with the statement “making it easy to navigate between them”. The Codeixer main menu has one function and that is to promote or market the brandname.
Plugin settings are supposed to be found under the settings menu where they are needed.
- Woocommerce main menu option for Woocommerce plugins
- Settings main menu for general plugins
- Tools main menu for tools
If we use the hook to remove the Codeixer main menu there is no ‘normal’ flow to find the plugin settings. Which seems counter productive to a settings menu.
You can find the settings link under the plugin name at plugins page or also can use custom hook to show it under Different menu.
You realize that finding setting through the plugin list is a nonsensical way right?
If ALL plugin developers follow your odd way of thinking we would have a LOT of main menu options.
Which means I would have to run multiple snippets to remove these menu options, and having no sensible way of finding the options pages.
Way to go! I will be removing this plugin from our current websites.
Honestly, many company is follow this, maybe with other thinking.
it’s fully up to you to use this plugin or not.
Good luck