recovery_email_debug_info
Filter HookDescription
Filters the debug information included in the fatal error protection email.Hook Information
File Location |
wp-includes/class-wp-recovery-mode-email-service.php
View on GitHub
|
Hook Type | Filter |
Line Number | 150 |
Hook Parameters
Type | Name | Description |
---|---|---|
array
|
$message
|
An associative array of debug information. |
Usage Examples
Basic Usage
<?php
// Hook into recovery_email_debug_info
add_filter('recovery_email_debug_info', 'my_custom_filter', 10, 1);
function my_custom_filter($message) {
// Your custom filtering logic here
return $message;
}
Source Code Context
wp-includes/class-wp-recovery-mode-email-service.php:150
- How this hook is used in WordPress core
<?php
145 *
146 * @since 5.3.0
147 *
148 * @param array $message An associative array of debug information.
149 */
150 $debug = apply_filters( 'recovery_email_debug_info', $this->get_debug( $extension ) );
151
152 /* translators: Do not translate LINK, EXPIRES, CAUSE, DETAILS, SITEURL, PAGEURL, SUPPORT. DEBUG: those are placeholders. */
153 $message = __(
154 'Howdy!
155
PHP Documentation
<?php
/**
* Filters the debug information included in the fatal error protection email.
*
* @since 5.3.0
*
* @param array $message An associative array of debug information.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/class-wp-recovery-mode-email-service.php
Related Hooks
Related hooks will be displayed here in future updates.