Skip to content

Instantly share code, notes, and snippets.

@gregogalante
Last active February 12, 2016 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregogalante/3aed08a5ee54815ab489 to your computer and use it in GitHub Desktop.
Save gregogalante/3aed08a5ee54815ab489 to your computer and use it in GitHub Desktop.
Disattivare gli aggiornamenti di Wordpress dal function.php.
<?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