LLMS_REST_Courses_Controller::get_item_schema()
Get the Course’s schema, conforming to JSON Schema.
Description Description
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-courses-controller.php
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.9 | Make sure instructors list is either not empty and composed by real user ids. Added llms_rest_course_item_schema filter hook. |
| 1.0.0-beta.8 | Renamed sales_page_page_type and sales_page_page_url properties, respectively to sales_page_type and sales_page_url according to the specs. Add missing quotes in enrollment/access default messages shortcodes. |
| 1.0.0-beta.1 | Introduced. |