Deactivate Upgrades Notification

Put in functions.php

function wp_hide_update() {
        global $current_user;

        if ($current_user->ID != 1) { // solo el admin lo ve, cambia el ID de usuario si no es el 1 o añade todso los IDs de admin
            remove_action( 'admin_notices', 'update_nag', 3 );

Share this snippet


Comments (1) - Leave yours

  1. Arlen Nagata said:

    I like this but to be great, this snippet section for wordpress needs more meta info like what versions of wp it works with. :)

Leave a Reply

Your email address will not be published. Required fields are marked *

Please respect the following rules: No advertising, no spam, no keyword in name field. Thank you!