Skip to content

Disable WordPress Automatic Updates

Method 1. Disabling Automatic WordPress Updates Using Code (Recommended)

You can disable automatic updates in WordPress by adding this line of code in your wp-config.php file:

1define( 'WP_AUTO_UPDATE_CORE', false );

This will disable all automatic WordPress updates.

Important: Make sure you read our article on how to safely edit the wp-config.php file in WordPress for step by step instructions.

If you want to receive minor core updates, but disable theme and plugin updates, you can do so by adding the following filters in your theme’s functions.php file.

Disable automatic WordPress plugin updates:

1add_filter( 'auto_update_plugin', '__return_false');

Disable automatic WordPress theme updates:

1add_filter( 'auto_update_theme', '__return_false');

For additional information, see this article:
https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/