automatic_updates_debug_email

automatic_updates_debug_email

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

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('automatic_updates_debug_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1741
    		 * }
    		 * @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'] );
    
    		if ( $switched_locale ) {
    			restore_previous_locale();
    		}