LLMS_Course_Data::get_engagements( string $type, string $period = 'current' )
Retrieve # of engagements related to the course awarded within the period
Description Description
Parameters Parameters
- $type
-
(Required) Engagement type [email|certificate|achievement].
- $period
-
(Optional) Date period [current|previous]. Default is 'current'.
Default value: 'current'
Return Return
(int)
Source Source
File: includes/class.llms.course.data.php
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |