llms_get_product( WP_Post|int|false $the_product = false, array $args = array() )
Get Product Object
Description Description
Parameters Parameters
- $the_product
-
(Optional) Course or membership post object or id. If
false
uses the global$post
object.Default value: false
- $args
-
(Optional) Arguments to pass to the LLMS_Product Constructor.
Default value: array()
Return Return
(LLMS_Proudct)
Source Source
File: includes/llms.template.functions.php
998 |
Changelog Changelog
Version | Description |
---|---|
3.37.13 | Introduced. |