So what do you have to do when you want to disable update warnings for specific plugins that appear in the wordpress dashboard? Simply add these lines in your functions.php of your theme (remember to change each plugin folder/php filename):
PHP:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<?php /* stop update for specific plugins */ function filter_plugin_updates($value) { unset($value->response['lightbox/lightbox.php']); unset($value->response['wordpress-seo/wp-seo.php']); return $value; } add_filter('site_transient_update_plugins', 'filter_plugin_updates'); ?> |
“