Created
June 12, 2014 15:11
-
-
Save benytocarlo/fa593eb25e1e8bfc219e to your computer and use it in GitHub Desktop.
ocultar actualizaciones de Wordpress (Core/Plugins)
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 | |
#esto se debe agregar al functions.php del theme | |
define( 'WP_AUTO_UPDATE_CORE', false ); | |
remove_action( 'load-update-core.php', 'wp_update_plugins' ); | |
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) ); | |
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment