LLMS_Access_Plan::get_product_type()
Retrieve the product type (course or membership) for the associated product
Return Return
(string)
Source Source
File: includes/models/model.llms.access.plan.php
public function get_product_type() { $product = $this->get_product(); return str_replace( 'llms_', '', $product->get( 'type' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |