Once subtle, now in the admin menu’s root
-
It still does a great job but since the last update it is located prominent with lots of adds in the admin’s main menu. It’s okay and reasonable when plugin developers try to earn money for their work. But for a ‘small tool’ like this it’s ways to bothersome for me in the root of the admin menu with the big, green coloured icon.
That’s why we’ve decided to move it from there to the old place by adding the following code to our custom plugin (or the theme’s functions.php).
/** * Remove the RB Plugins menu (of Disable Comments RB) in the admin menu. * and create a new submenu for this plugin in the settings menu. */ add_action( 'admin_menu', function() { remove_menu_page('rb_plugins_settings'); $title = __('Disable Comments', 'disable-comments-rb'); add_submenu_page( 'options-general.php', $title, $title, 'manage_options', 'rb_disable_comments_settings', array(Rbs_Disable_Comments::get_instance(), 'options') ); }, 100 );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Once subtle, now in the admin menu’s root’ is closed to new replies.