automatic_updates_debug_email

automatic_updates_debug_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6

apply_filters('automatic_updates_debug_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1715
    		 * }
    		 * @param int   $failures The number of failures encountered while upgrading.
    		 * @param mixed $results  The results of all attempted updates.
    		 */
    		$email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results );
    
    		wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
    	}
    
    	/**
    	 * Performs a loopback request to check for potential fatal errors.