Created
November 3, 2013 09:29
-
-
Save julienbourdeau/7288383 to your computer and use it in GitHub Desktop.
Remove yellow notification ribbon for wordpress update
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
add_action('admin_menu','wphidenag'); | |
/** | |
* Remove notification ribbon for wordpress update | |
* | |
* @since 0.1.0 | |
* @return void | |
*/ | |
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