WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address

Advertisement

Private Access Private Access

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.

Summery Summery

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

Syntax Syntax

WP_Recovery_Mode_Email_Service::get_recovery_mode_email_address()

Return Return

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply