Skip to content

Instantly share code, notes, and snippets.

@julienbourdeau
Created November 3, 2013 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julienbourdeau/7288383 to your computer and use it in GitHub Desktop.
Save julienbourdeau/7288383 to your computer and use it in GitHub Desktop.
Remove yellow notification ribbon for wordpress update
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