Posted By

telltec on 10/03/15


Tagged

wordpressautoupdateupdateupgradepluginsthemescore


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tryan326


Enable all automatic Wordpress Updates


 / Published in: PHP
 

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

  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  

You need to login to post a comment.