Filters whether to send an email following an automatic background plugin update.
Parameters
$enabled
bool- True if plugin update notifications are enabled, false otherwise.
$update_results
array- The results of plugins update tasks.
Source
$notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] );
Disable the automated notification email that is sent via WordPress after you have enabled automatic plugin update just by using one line of code: