Enable all automatic Wordpress Updates


/ Published in: PHP
Save to your folder(s)

Put this in your wp-config.php
Enables automatic WP core, theme and plugin updates.


Copy this code and paste it in your HTML
  1. /* enable wordpress auto updates */
  2. define('WP_AUTO_UPDATE_CORE', true);
  3. add_filter( 'auto_update_plugin', '__return_true' );
  4. add_filter( 'auto_update_theme', '__return_true' );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.