recovery_email_debug_info filter-hookWP 5.3.0

Filters the debug information included in the fatal error protection email.

Usage

add_filter( 'recovery_email_debug_info', 'wp_kama_recovery_email_debug_info_filter' );

/**
 * Function for `recovery_email_debug_info` filter-hook.
 * 
 * @param array $message An associative array of debug information.
 *
 * @return array
 */
function wp_kama_recovery_email_debug_info_filter( $message ){

	// filter...
	return $message;
}
$message(array)
An associative array of debug information.

Changelog

Since 5.3.0 Introduced.

Where the hook is called

WP_Recovery_Mode_Email_Service::send_recovery_mode_email()
recovery_email_debug_info
wp-includes/class-wp-recovery-mode-email-service.php 150
$debug = apply_filters( 'recovery_email_debug_info', $this->get_debug( $extension ) );

Where the hook is used in WordPress

Usage not found.