recovery_email_support_info
Filters the support message sent with the the fatal error protection email.
Использование
add_filter( 'recovery_email_support_info', 'wp_kama_recovery_email_support_info_filter' );
/**
* Function for `recovery_email_support_info` filter-hook.
*
* @param string $message The Message to include in the email.
*
* @return string
*/
function wp_kama_recovery_email_support_info_filter( $message ){
// filter...
return $message;
}
- $message(строка)
- The Message to include in the email.
Список изменений
| С версии 5.2.0 | Введена. |
Где вызывается хук
wp-includes/class-wp-recovery-mode-email-service.php 141
$support = apply_filters( 'recovery_email_support_info', __( 'Please contact your host for assistance with investigating this issue further.' ) );