Monday, October 1, 2012

Hide update nag within the admin

Adding this snippet to the functions.php of your wordpress theme will hide the update nag within the wordpress admin.

function remove_upgrade_nag() {
   echo '<style type="text/css">
           .update-nag {display: none}
         </style>';
}
add_action('admin_head', 'remove_upgrade_nag');

No comments:

Post a Comment