recovery_email_debug_info
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-includes/class-wp-recovery-mode-email-service.php 150
$debug = apply_filters( 'recovery_email_debug_info', $this->get_debug( $extension ) );