LLMS_Course_Data::get_completions( string $period = 'current' )
Retrieve # of course completions within the period
Description Description
Parameters Parameters
- $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.31.0 | Use $this->post_id instead of deprecated $this->course_id. |
3.15.0 | Introduced. |