ControlledChaos
8/8/2016 - 2:16 PM

Hide the WordPress update notification to all but admins.

Hide the WordPress update notification to all but admins.

<?php

function ccd_admin_only_updates() {
    if ( ! current_user_can( 'update_core' ) ) {
        remove_action( 'admin_notices', 'update_nag', 3 );
    }
}
add_action( 'admin_head', 'ccd_admin_only_updates', 1 );

?>

Update Notice for Admins Only

WordPress Snippet