Created
March 22, 2016 22:17
-
-
Save BFTrick/a1a6700bd3acc6f7c5d6 to your computer and use it in GitHub Desktop.
Disable Plugin Updates
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
| // PLEASE DON'T USE THIS. I save this an example of what *not* to do. | |
| remove_action( 'admin_notices', 'woothemes_updater_notice' ); | |
| //Disable plugins updates | |
| remove_action( 'load-update-core.php', 'wp_update_plugins' ); | |
| 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