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.
Return Return
(WP_Error|null|bool)
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(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |