How to Remove Wordpress Update Notice from Admin Panel- Wordpress Hack, Tips and Tricks for Bloggers

How to Remove Wordpress Update Notice from Admin Panel- Wordpress Hack, Tips and Tricks for Bloggers

I tried searching so far and get these 2 probable solutions for the problem in Wordpress of showing update notice in header of admin panel.
Here is the first trick but this trick does not worked on my theme
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;"));
}


So i found this very good trick and this trick will work on mine, so hope it will work on yours also.
Open functions.php file of your theme and paste following code and Save:
// patch to remove wp update notice from admin by Vaseem Ansari
add_action('admin_menu','hideupdatenotice');
function hideupdatenotice()
{
remove_action( 'admin_notices', 'update_nag', 3 );
}


If you want to remove the notice(Get Version 3.0) from footer also then open the file
wp-admin/admin-footer.php and comment or remove the variable below


Hope above solutions also worked for your Wordpress Blog.
Loading...