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: ''


Top ↑

Return Return

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


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.