Automatic Updating

, ,

So not sure how often it does do this but according to WordPress you are able to add some filters so that updates automatically happen.  It is best to add these into your child's functions.php file.

add_filter( 'auto_update_core', '__return_true' );
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );

You can at least tell WordPress's core to update by modifying the wp-config.php file to have the following code.

define( 'WP_AUTO_UPDATE_CORE', true );

If for some reason you want to tell a server to not update you can add the following code to the wp-config.php file.

define( 'AUTOMATIC_UPDATER_DISABLED', true );

 

 

Skills

Posted on

May 4, 2017

Submit a Comment

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