Home / Wordpress / Disable Update Notifications in WordPress and plugins
wordpress

Disable Update Notifications in WordPress and plugins

For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard . This notice will not clear until the WordPress is upgraded to latest version or newer version. Similarly the update notice for installed plugins & themes is displayed on the WordPress dashboard, plugins & themes pages.

As per security point of view it is good to know that updates are available but administrators who maintain multiple installations of WordPress on behalf of other people (eg. Clients or customer) may not want theme update notifications to be shown to the users of these installations, then disabling such notifications becomes necessary. In this blog, I will show how to disable update notifications for core WordPress as well as for plugins and themes.

1.  To Disable Update WordPress:

Insert the following code into the functions.php file of your active theme. By using this you can remove the wordpress update notification.

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’);
}
2.  To Disable Plugin Update Notifications:
Insert the following code to the functions.php file of your theme. It will remove the update notifications of all the installed plugins.

remove_action(‘load-update-core.php’,’wp_update_plugins’);add_filter(‘pre_site_transient_update_plugins’,’__return_null’);

Using this two points you can easily disable the updates notification of latest wordpress updates and plugin .

About Chetan Kalbande

• Working knowledge in Magento, Wordpress, Joomla, PHP, HTML5, CSS3, Bootstrap front-end framework and Foundation front-end framework. Experience of PSD to HTML and HTML to Wordpress. Having knowledge on theme development of Wordpress, directory structure and responsive UI of Magento. E-Commerce development using Magento, Opencart, Woo-Commerce . Clean , attractive and responsive website development using Wordpress and Drupal. Estimation, design and development of various modules. Work on Search Engine Optimization to improve the search engine rank of website. Working knowledge and handling experience of Google Absence and different affiliates account. • Knowledge of Jquery Mobile, Android application development and Phone gap. Experience of Developing and maintaining web base portal or directory website. Work closely with the other team members to meet client goals. Promote on page SEO activities and also the interactions that build ranking, profile and traffic.

Check Also

Realty

Download Realty – Unique Real Estate WordPress Theme

Realty is a fully-fledged property management system for real estate agents and companies. Accept free ...

3 comments

  1. The post have resolved our problem,thanks very much and hope you writting more good articles.