learndash_get_course_meta_setting( int $course_id, string $setting_key = '' )
Gets the course settings from the course meta.
Description Description
Parameters Parameters
- $course_id
-
(Optional) The ID of the course. Default 0.
- $setting_key
-
(Optional) The slug of the setting to get.
Default value: ''
Return Return
(mixed) Returns course settings. Passing empty setting key gets all the settings.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.6.4 | Introduced. |