how to stop automatic updates in wordpress

How to stop automatic updates in 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.

ReadyMadeCode
Author: ReadyMadeCode

ReadyMadeCode.com is a website where you can find all types of codes or tutorials from popular programming languages or scripts or framework like php, laravel, html, css, javascript, nodejs, java, angularjs etc.

View All Posts From ReadyMadeCode
View Profile of ReadyMadeCode
Author Website : https://www.readymadecode.com

Enter Your Comments Here...

Enter Your Comments Here...

Scroll to top

Get Paid To Use Facebook, Twitter & Youtube

Earn From Social Media Online (Click to visit)

earn from social media online