Last active
October 1, 2019 16:54
-
-
Save lukecav/376e09d888ae43bb02b629e3ed70b5af to your computer and use it in GitHub Desktop.
Disable the PHP Update Admin Nag Widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function disable_php_update_nag_widget() { | |
remove_meta_box( 'dashboard_php_nag', 'dashboard', 'normal'); | |
} | |
add_action('wp_dashboard_setup', 'disable_php_update_nag_widget', 40); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment