How To Disable Plugin Update Notification For A Specific WordPress Plugin

0

In last article, I showed you how to hide a WordPress plugin from appearing in WordPress’ plugin list, so you could hide it from your clients. Now, I’ll show you how to disable plugin update notification for a specific WordPress plugin, so your client couldn’t see it either.

Just throw this snippet to your current theme’s functions.php file:

function filter_plugin_updates( $value ) {
unset( $value->response['plugin-directory/plugin-file.php'] );
return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );

Replace plugin-directory/plugin-file.php in above code with your plugin’s directory and file name. You can find this info by clicking on edit plugin link from the plugin list.

You might also like More from author