Filter hook 'auto_plugin_update_send_email'

in WP Core File wp-admin/includes/class-wp-automatic-updater.php at line 1166

Description

Filters whether to send an email following an automatic background plugin update.

Occurrences

Filename Line Number
wp-admin/includes/class-wp-automatic-updater.php 1166

Parameters

Type Name Description
bool $enabled True if plugin update notifications are enabled, false otherwise.
array $update_results The results of plugins update tasks.

PHP Doc

/**
			 * Filters whether to send an email following an automatic background plugin update.
			 *
			 * @since 5.5.0
			 * @since 5.5.1 Added the `$update_results` parameter.
			 *
			 * @param bool  $enabled        True if plugin update notifications are enabled, false otherwise.
			 * @param array $update_results The results of plugins update tasks.
			 */