Filter hook 'automatic_updates_debug_email'

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

Description

Filters the debug email that can be sent following an automatic background core update. can be returned, as handled by wp_mail(). }

Occurrences

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

Parameters

Type Name Description
array $email { Array of email arguments that will be passed to wp_mail().
int $failures The number of failures encountered while upgrading.
mixed $results The results of all attempted updates.

PHP Doc

/**
		 * Filters the debug email that can be sent following an automatic
		 * background core update.
		 *
		 * @since 3.8.0
		 *
		 * @param array $email {
		 *     Array of email arguments that will be passed to wp_mail().
		 *
		 *     @type string $to      The email recipient. An array of emails
		 *                           can be returned, as handled by wp_mail().
		 *     @type string $subject Email subject.
		 *     @type string $body    Email message body.
		 *     @type string $headers Any email headers. Default empty.
		 * }
		 * @param int   $failures The number of failures encountered while upgrading.
		 * @param mixed $results  The results of all attempted updates.
		 */