learndash_course_get_sections( integer $course_id, array $query_args = array() )
Get the Course Sections.
Description #
Parameters #
- $course_id
-
(integer) (Required) Course ID.
- $query_args
-
(array) (Optional) Array of query args to filter the query.
Default value: array()
Return #
(object{order:) int, ID: int, post_title: string, type: string, steps: int[]}[] Sections.
Source #
Changelog #
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |