automatic_updates_debug_email

automatic_updates_debug_email

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('automatic_updates_debug_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1550

    Warning: Undefined array key 1554 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1555 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * }
    		 * @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'] );
    	}
    }