How to disable update notification in WordPress

Add following code to the functions.php file of your active theme folder. It will remove the WordPress update nag e.g. WordPress 3.9.1 is available! Please update now, from the all users dashboard, admin dashboard & from Updates page as well.

 
	<?php 
 
		add_action('after_setup_theme','remove_core_updates');
		function remove_core_updates()
		{
			 if(! current_user_can('update_core')){return;}
			 add_action('init', create_function('$a',"remove_action( 'init', 'wp_version_check' );"),2);
			 add_filter('pre_option_update_core','__return_null');
			 add_filter('pre_site_transient_update_core','__return_null');
		}
 
	?>

Related posts:

HTML5 page structure

HTML5 offers more powerful structure comparing to older versions of Html. There are many new …


Partner with Us

We are providing an exclusive partnership offer to individuals and companies who are interested in setting up their own web design & development company. For more information about how to partner with us, please contact us