WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about auto_core_update_email

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-automatic-updater.php apply_filters 909 /**
* Filters the email sent following an automatic background core update.
*
* @since 3.7.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 The email's subject.
* @type string $body The email message body.
* @type string $headers Any email headers, defaults to no headers.
* }
* @param string $type The type of email being sent. Can be one of
* 'success', 'fail', 'manual', 'critical'.
* @param object $core_update The update offer that was attempted.
* @param mixed $result The result for the core update. Can be WP_Error.
*/

Hook Parameters

Parameter Type Name Description
array $emai l {
string $type The type of email being sent. Can be one of
object $core_update The update offer that was attempted.
mixed $result The result for the core update. Can be WP_Error.