Last active
February 12, 2016 13:09
-
-
Save gregogalante/3aed08a5ee54815ab489 to your computer and use it in GitHub Desktop.
Disattivare gli aggiornamenti di Wordpress dal function.php.
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 | |
// Rimozione aggiornamenti wp | |
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) ); | |
// Rimozione aggiornamenti wp-plugin | |
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment