Configure Automatic Updates WordPress

Implement WordPress automatic Updates using wp-config file

Before editing, creating a complete backup.

After backup, Navigate to the home directory and makes changes in wp-config.php file.

cd /var/www/domain.com
nano wp-config.php

Add the following…

/** Enable Auto Updates */
define('WP_AUTO_UPDATE_CORE', true);
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.