LLMS_REST_Posts_Controller::can_access_password_content( LLMS_Post_Model $object, WP_REST_Request $request )
Checks if the user can access password-protected content.
Description Description
Parameters Parameters
- $object
-
(Required) The LLMS_Post_model object.
- $request
-
(Required) Request data to check.
Return Return
(bool) True if the user can access password-protected content, otherwise false.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |