Created
July 31, 2015 02:53
-
-
Save priscillamc/62eb3e495600dc8b27f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Auto Update | |
Description: Enables automatic background updates for core, plugins, and themes. See <a href="https://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank">Configuring Automatic Background Updates</a> for more details. | |
Version: 1.0.0 | |
*/ | |
// Enable automatic updates for core major releases | |
add_filter( 'allow_major_auto_core_updates', '__return_true' ); | |
// Enable automatic updates for all plugins | |
add_filter( 'auto_update_plugin', '__return_true' ); | |
// Enable automatic updates for all themes | |
add_filter( 'auto_update_theme', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment