How to Hide the Update Reminder on WordPress

If you want to hide for any reason the WordPress update message from users on wp-admin, all you have to do is put the code bellow on your functions.php file, on your theme directory.

Se você quer por alguma razão esconder a mensagem de update do WordPress dos usuários no wp-admin, tudo que você tem que fazer é colocar o código abaixo no arquivo functions.php, no diretório de seu tema.

<?
function hideuptdng()
{
    remove_action( 'admin_notices', 'update_nag', 3 );
}
add_action('admin_menu','hideuptdng');
?>
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: