LLMS_Membership_Data::get_revenue( string $period )
Retrieve total amount of transactions related to orders for the course completed within the period.
Description Description
Parameters Parameters
- $period
-
(Optional) Date period [current|previous]. Default 'current'.
Return Return
(float)
Source Source
File: includes/class.llms.membership.data.php
Changelog Changelog
Version | Description |
---|---|
3.35.0 | Sanitize post ids from WP_Query before using for a new DB query. |
3.32.0 | Introduced. |