LLMS_REST_Enrollments_Controller::prepare_object_query( int $student_id, int $post_id )
Prepare enrollments objects query.
Parameters Parameters
- $student_id
-
(int) (Required) Student ID.
- $post_id
-
(int) (Required) The course/membership ID.
Return Return
(array)
Source Source
File: vendor/lifterlms/lifterlms-rest/includes/server/class-llms-rest-enrollments-controller.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |