LLMS_Course_Data
Query data about a course
Description Description
Source Source
File: includes/class.llms.course.data.php
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Remove previously deprecated class properties $course and $course_id . |
3.31.0 | Extends LLMS_Abstract_Post_Data. |
3.30.3 | Explicitly define class properties. |
3.15.0 | Introduced. |
Methods Methods
- __construct — Constructor
- get_all_ids — Retrieve an array of all post ids in the course
- get_completions — Retrieve # of course completions within the period
- get_engagements — Retrieve # of engagements related to the course awarded within the period
- get_enrollments — Retrieve # of course enrollments within the period
- get_lesson_completions — Retrieve # of lessons completed within the period
- get_orders — Retrieve # of orders placed for the course within the period
- get_revenue — Retrieve total amount of transactions related to orders for the course completed within the period
- get_unenrollments — Retrieve the number of unenrollments on a given date.
- orders_query — Execute a WP Query to retrieve orders within the given date range