Uses
Uses | Description |
---|---|
wp-includes/formatting.php: is_email() | Verifies that an email is valid. |
wp-includes/option.php: get_option() | Retrieves an option value based on an option name. |
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Gets the email address to send the recovery mode link to.
(string) Email address to send recovery mode link to.
File: wp-includes/class-wp-recovery-mode-email-service.php
private function get_recovery_mode_email_address() { if ( defined( 'RECOVERY_MODE_EMAIL' ) && is_email( RECOVERY_MODE_EMAIL ) ) { return RECOVERY_MODE_EMAIL; } return get_option( 'admin_email' ); }
Version | Description |
---|---|
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_email_service/get_recovery_mode_email_address