get_lesson( WP_Post|int|false $the_lesson = false, array $args = array() )
Get Product
Description Description
Parameters Parameters
- $the_lesson
-
(Optional) Lesson post object or id. If
false
uses the global$post
object.Default value: false
- $args
-
(Optional) Arguments to pass to the LLMS_Lesson Constructor.
Default value: array()
Return Return
Source Source
File: includes/functions/llms.functions.course.php
Changelog Changelog
Version | Description |
---|---|
3.37.13 | Introduced. |