WordPress at a glance
filter is not described

automatic_updates_debug_email filter-hook . WP 3.8.0

Filters the debug email that can be sent following an automatic background core update.


add_filter( 'automatic_updates_debug_email', 'filter_function_name_8105', 10, 3 );
function filter_function_name_8105( $email, $failures, $results ){
	// filter...

	return $email;

Array of email arguments that will be passed to wp_mail().

  • to(string)
    The email recipient. An array of emails can be returned, as handled by wp_mail().

  • subject(string)
    Email subject.

  • body(string)
    Email message body.

  • headers(string)
    Any email headers.
    Default: ''
The number of failures encountered while upgrading.
The results of all attempted updates.

Список изменений

С версии 3.8.0 Введена.

Где вызывается хук

wp-admin/includes/class-wp-automatic-updater.php 1360
$email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results );

Где используется хук в ядре WordPress

Использование не найдено.