Configure Automatic Updates WordPress


nano /wp-config.php


Change this….

//--- disable auto upgrade
define( 'AUTOMATIC_UPDATER_DISABLED', true );

To this…to update core, plugins and themes

//--- disable auto upgrade
define( 'AUTOMATIC_UPDATER_DISABLED', false );
define('WP_AUTO_UPDATE_CORE', true);
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );