Filter hook 'recovery_email_support_info'

in WP Core File wp-includes/class-wp-recovery-mode-email-service.php at line 141

View Source

recovery_email_support_info

Filter Hook
Description
Filters the support message sent with the 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 141

Hook Parameters

Type Name Description
string $message The Message to include in the email.

Usage Examples

Basic Usage
<?php
// Hook into recovery_email_support_info
add_filter('recovery_email_support_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:141 - How this hook is used in WordPress core
<?php
 136  		 *
 137  		 * @since 5.2.0
 138  		 *
 139  		 * @param string $message The Message to include in the email.
 140  		 */
 141  		$support = apply_filters( 'recovery_email_support_info', __( 'Please contact your host for assistance with investigating this issue further.' ) );
 142  
 143  		/**
 144  		 * Filters the debug information included in the fatal error protection email.
 145  		 *
 146  		 * @since 5.3.0

PHP Documentation

<?php
/**
		 * Filters the support message sent with the the fatal error protection email.
		 *
		 * @since 5.2.0
		 *
		 * @param string $message The Message to include in the email.
		 */
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.