LLMS_Course_Data::get_orders( string $period = 'current' )
Retrieve # of orders placed for the course 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 |
---|---|
4.21.0 | Fixed order params passed to the $this->orders_query() method. |
3.15.0 | Introduced. |