Alert: 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.

WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address() WordPress Method

The WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address() method is used to get the email address used for recovery mode.

WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address() #

Gets the email address to send the recovery mode link to.


Return

(string) Email address to send recovery mode link to.


Top ↑

Source

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' );
	}


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.