How to Remove Wordpress Update Notice from Admin Panel
It's sometimes really irritating to see that update notice about latest Wordpress release on each page of your Wordpress Admin Panel. So, why not just disable it with this simple code.
It's sometimes really irritating to see that update notice about latest Wordpress release on each page of your Wordpress Admin Panel. So, why not just disable it with this simple code.
Open functions.php file of your theme and paste following code and Save:
if (!current_user_can('edit_users')) {
add_action('init', create_function('$a', "remove_action('init', 'wp_version_check');"), 2);
add_filter('pre_option_update_core', create_function('$a', "return null;"));
}
Thanks to Jeff for sharing this tip.
Nice) Add you blog to Reader =)
This is really great for client sites.