Created
August 9, 2013 09:19
-
-
Save yratof/6192336 to your computer and use it in GitHub Desktop.
Remove "update available" message from wordpress dashboard
This file contains hidden or 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
// Remove UPDATE AVAILABLE messages from Wordpress | |
// Not all clients want to be notifified that their | |
// site is out of date straight away. This way, they | |
// are less likely to explore the link themselves | |
// and either A) Update the site perfectly fine | |
// or b) mess the whole site up beyond replair (database) | |
add_action('admin_menu','wphidenag'); | |
function wphidenag() { | |
remove_action( 'admin_notices', 'update_nag', 3 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment