Reputation: 585
I want to disable all updates in my website. I have set below variable in wp-config.php
file.
define( 'automatic_updater_disabled', true );
define( 'wp_auto_update_core', false );
But I don't know why, every other day it keeps on updating itself, which breaks some of my code.
Does any one know how to disable the updates PERMANENTLY !
Upvotes: 0
Views: 1365
Reputation: 459
On some hosting platforms you install Wordpress as an 'App' through something like Installatron. This has settings about updating Wordpress too, you may want to check for this in your hosting backend/dashboard.
It looks like this
Where it says My blog it will probably say Wordpress. If you click edit below, it has some settings about updating.
Upvotes: 0
Reputation: 169
By default, WordPress can automatically update itself when a security or minor release is available.
For major releases, you have to initiate the update yourself. You also have to install plugin and theme updates yourself.
Wondering if you are on Managed Wordpress hosting??
IF YES then that's where those updates are happening automatically.
You can Hosting support to not update without confirming with you.
Upvotes: 1
Reputation: 612
define( 'AUTOMATIC_UPDATER_DISABLED', true );
define( 'WP_AUTO_UPDATE_CORE', true );
Disable automatic WordPress plugin updates:
add_filter( 'auto_update_plugin', '__return_false' );
Disable automatic WordPress theme updates:
add_filter( 'auto_update_theme', '__return_false' );
For your better understanding please visit here
Upvotes: 0