llms_get_product( boolean $the_product = false, array $args = array() )
Get Product
Description Description
Parameters Parameters
- $the_product
-
(boolean) (Optional) [Is product class init?]
Default value: false
- $args
-
(array) (Optional) [class init args]
Default value: array()
Return Return
(new) instance of class
Source Source
File: includes/llms.template.functions.php
function llms_get_product( $the_product = false, $args = array() ) { return LLMS()->course_factory->get_product( $the_product, $args ); }
Expand full source code Collapse full source code View on GitHub
User Contributed Notes User Contributed Notes
Permalink: