How to stop automatic updates in wordpress?

Wordpress

In this article we will teach you how to stop automatic updates in wordpress.

Sometimes there is need to stop or disable automatic updates in wordpress. Because in every version of themes or plugins some classes, functions or code structure replaced by new code. And after update in wordpress’s theme or plugins. It creates compatibility or support problem with our theme, plugins code or with our hosting also.

So, there is a some trick to stop automatic updates in wordpess. With or without plugin in wordpress’s website or blog.

First of all if you want to stop automatic updates in wordpress with plugin. Then you can use Easy Updates Manager Plugin. So, just install, activate and use this plugin.

If you want to disable automatic updates in wordpress without plugin. So, you can use the code given below.

Just paste the code given below in your wp-config.php file located at website_root_path/wp-config.php. And this will disable automatic updates in your wordpress website.

define( 'WP_AUTO_UPDATE_CORE', false );

If you want to receive some minor or important updates in your wordpress. Then you can paste the code given below in your functions.php file located at website_root_path/wp-content/themes/your_theme/functions.php

This code will stop automatic update of wordpress plugin.

add_filter( 'auto_update_plugin', '__return_false' );

This code will stop automatic update of wordpress plugin.

add_filter( 'auto_update_theme', '__return_false' );

That’s it If you want more tutorials and tricks about wordpress then visit our WordPress Page and for other tutorials or codes visit ReadyMadeCode regularly or subscribe for email updates and follow us on facebooktwittertumblrlinkdedin and if you like this article then share this.