Browse: Home / Functions /


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

Gets the course settings from the course meta.

Description #

Parameters #


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


(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 #

Version Description
2.6.4 Introduced.