Created
May 30, 2016 18:42
-
-
Save douglascabral/f16c76b1a16ad57846d7cdbf6518891a to your computer and use it in GitHub Desktop.
Remove updates WP
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
// | |
// Remove aviso de atualização | |
// Obs: Aparenta deixar o admin um pouco mais lento para mudar de página | |
// | |
remove_action( 'load-update-core.php', 'wp_update_plugins' ); | |
add_filter( 'pre_site_transient_update_core', create_function('$a', "return null;") ); | |
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