Created
January 1, 2014 18:03
-
-
Save sharpmachine/8210043 to your computer and use it in GitHub Desktop.
Remove update notification for plugin
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
| // Remove Update Notification | |
| add_filter('site_transient_update_plugins', 'dd_remove_update_nag'); | |
| function dd_remove_update_nag($value) { | |
| unset($value->response[ plugin_basename(__FILE__) ]); | |
| return $value; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment