Open you theme’s functions.php file and add the below code or you can also add the below code if you are using any site-specific plugin.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | add_filter( 'contextual_help', 'fwm_remove_dashboard_help_tab', 999, 3 ); add_filter( 'screen_options_show_screen', 'fwm_remove_help_tab' ); function fwm_remove_dashboard_help_tab( $old_help, $screen_id, $screen ) { if( 'dashboard' != $screen->base ) return $old_help; $screen->remove_help_tabs(); return $old_help; } function fwm_remove_help_tab( $visible ) { global $current_screen; if( 'dashboard' == $current_screen->base ) return false; return $visible; } |
That’s all, I hope this helped you!
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.