/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?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'); ?>
Comments
