<?php
function wp_hide_update() {
global $current_user;
get_currentuserinfo();
if ($current_user->ID != 1) { // only admin will see it
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_action('admin_menu','wp_hide_update');
?>
Decoding the Secrets of WordPress
<?php
function wp_hide_update() {
global $current_user;
get_currentuserinfo();
if ($current_user->ID != 1) { // only admin will see it
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_action('admin_menu','wp_hide_update');
?>