Automatic WordPress updates

How to automatically update WordPress installations?

How do I enable major updates?

To do this, open the wp-config.php file in the root folder of your WordPress installation and add the line to it:

define ('WP_AUTO_UPDATE_CORE', true);

How to enable plugin updates?

If you want your plugins to be automatically updated by WordPress when a new version is released, you need to  add a line to your wp-config.php file, similar to the one above. This time, however, the filter is used to update the auto update plugin:

add_filter ("auto_update_plugin ','__return_true');

How to enable skin updates?

If you want to support automatic topic updates in WordPress, you need to add the following to the wp-config.php file:

add_filter ("auto_update_theme ','__return_true');
5/5 - (2 votes)

Leave a Comment

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

Scroll to Top