Browse: Home / Functions /

learndash_get_course_meta_setting

learndash_get_course_meta_setting( int $course_id,  string $setting_key = '' )

Gets the course settings from the course meta.


Description #


Parameters #

$course_id

(int) (Optional) The ID of the course. Default 0.

$setting_key

(string) (Optional) The slug of the setting to get.

Default value: ''


Return #

(mixed) Returns course settings. Passing empty setting key gets all the settings.


Source #

File: includes/course/ld-course-functions.php


Changelog #

Changelog
Version Description
2.6.4 Introduced.