Created
January 23, 2017 20:11
-
-
Save rdlmda/ab5e5e49e60367c6a1a38b0b55cafdd5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Força atulização | |
| Description: Ativa atualização automática do core e dos plugins | |
| Author: Rudá Almeida | |
| Version: 0.1 | |
| */ | |
| add_filter( 'auto_update_core', '__return_true' ); | |
| add_filter( 'auto_update_plugin', '__return_true' ); | |
| add_filter( 'auto_update_theme', '__return_false' ); | |
| add_filter( 'auto_update_translation', '__return_false' ); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place at
wp-content/mu-plugins