Last active
January 15, 2018 09:05
-
-
Save manhleo93/f9ca65497bfab1eb8b3d44b89b998e17 to your computer and use it in GitHub Desktop.
Tắt thông báo cập nhật wordpress
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
# Tắt thông báo cập nhật Plugin Wordpress | |
function disable_plugin_updates( $value ) { | |
unset( $value->response['akismet/akismet.php'] ); | |
unset( $value->response['thrive-comments/thrive-comments.php'] ); | |
unset( $value->response['monarch/monarch.php'] ); | |
return $value; | |
} | |
add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment