LLMS_Coupon::get_products()
Get an array of all products the coupon can be used with Combines $this->coupon_courses & $this->coupon_membership
Return Return
(array)
Source Source
File: includes/models/model.llms.coupon.php
public function get_products() { return array_merge( $this->get_array( 'coupon_courses' ), $this->get_array( 'coupon_membership' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |