LLMS_REST_Students_Controller::get_items_permissions_check( WP_REST_Request $request )
Determine if current user has permission to list users.
Parameters Parameters
- $request
-
(WP_REST_Request) (Required) Request object.
Return Return
(true|WP_Error)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-students-controller.php
return true; } /** * Get object. * * @since 1.0.0-beta.1 * @since 1.0.0-beta.26 Don't autoload current user if a falsy user id is supplied. * * @param int $id Object ID. * @return LLMS_Student|WP_Error */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |