LLMS_REST_Authentication::authenticate( int|false $user_id )

Authenticate an API Request


Description Description


Parameters Parameters

$user_id

(Required) WP_User ID of an already authenticated user or false.


Top ↑

Return Return

(int|false)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.5 Load all includes to accommodate plugins and themes that call determine_current_user early.
1.0.0-beta.12 Call llms_rest_authorization_required_error() instructing to not check if the current user is logged in to avoid infinite loops.
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.