LLMS_REST_Authentication::check_authentication_error( WP_Error|null|bool $error )

Check for authentication error.


Parameters Parameters

$error

(WP_Error|null|bool) (Required) Existing error data.


Top ↑

Return Return

(WP_Error|null|bool)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/class-llms-rest-authentication.php

	public function check_authentication_error( $error ) {

		// Pass through existing errors.
		if ( ! empty( $error ) ) {
			return $error;
		}

		return $this->get_error();

	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.