
Add the following code to the functions.php file of your active WordPress theme. It will disable plugin update notifications in the WordPress dashboard and optionally prevent email alerts for auto-updated plugins.
This can be useful when building a website for a client, especially if you want to manage plugin updates yourself and avoid accidental updates by others.
// Disable plugin update check add_filter( 'site_transient_update_plugins', '__return_false' ); // Optional: Prevent auto-update email for plugins only add_filter( 'auto_plugin_update_send_email', '__return_false' );
Now you will not see WP plugin update notifications like this.
