return $this->email_service->
maybe_send_recovery_mode_email( $this->
get_email_rate_limit(),
$error,
$extension );
} if ( !
$this->
store_error( $error ) ) { return new WP_Error( 'storage_error',
__( 'Failed to store the error.'
) );
} if ( headers_sent() ) { return true;
} $this->
redirect_protected();
} /**
* Ends the current recovery mode session.
*
* @since 5.2.0
*
* @return bool True on success, false on failure.
*/
public function exit_recovery_mode() { if ( !
$this->
is_active() ) {