Skip to main content
We are Brand SEO Beijing serving international business, your marketing partner, Contact us by mi@mgsh.com.cn

Delete the "Help" and "Display Options" in the upper right corner of the website CMS background management interface

In the upper right corner of the WordPress background management interface, there is a "Help" option for each management system. For users who are already familiar with WordPress, it has no effect. In order to clean the interface, it can be removed by code.
remove "help"
Put the following code in your theme's functions.php file:

//Remove the "help" in the upper right corner of the WordPress background management interface add_action('in_admin_header', function(){ global $current_screen; $current_screen->remove_help_tabs(); });

Remove help and display options

//Remove WordPress background "Show Options" and "Help" tabs function remove_screen_options(){ return false;} add_filter('screen_options_show_screen', 'remove_screen_options'); add_filter( 'contextual_help', 'mgsh_remove_help', 999, 3 ); function mgsh_remove_help($old_help, $screen_id, $screen){ $screen->remove_help_tabs(); return $old_help; }

I don't think it's necessary to remove the display option. After all, the display option can still control the page display. It's good to hide the unused content. BTW, the help option is also ok.

Back to Top