Disable WordPress automatic updates
Add below code on wp-config.php file on root
define( 'WP_AUTO_UPDATE_CORE', false );
Enable WordPress automatic updates
Add below code on wp-config.php file on root
define('WP_AUTO_UPDATE_CORE', true);
Disable Plugin & Theme Updates
Add below code on functions.php file on your parent/child theme
add_filter( 'auto_update_plugin', '__return_false
' ); add_filter( 'auto_update_theme', '__return_false
' );
Enable Plugin & Theme Updates
Add below code on functions.php file on your parent/child theme
add_filter( 'auto_update_plugin', '__return_true
' ); add_filter( 'auto_update_theme', '__return_true
' ); Reference : https://codex.wordpress.org/Configuring_Automatic_Background_Updates