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