WordPress at a glance
function is not described

WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address() private WP 5.2.0

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

{} It's a method of the class: WP_Recovery_Mode_Email_Service{}

No Hooks.

Return

String. Email address to send recovery mode link to.

Usage

// private - for code of main (parent) class only
$result = $this->get_recovery_mode_email_address();

Changelog

Since 5.2.0 Introduced.

Code of WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address() WP 5.7.2

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