Browse: Home / Functions /


learndash_get_open_courses( boolean $bypass_transient = false )

Gets all the courses with the price type open.

Description #

Logic for this query was taken from the sfwd_lms_has_access_fn() function

Parameters #


(boolean) (Optional) Whether to bypass transient cache.

Default value: false

Return #

(array) An array of course IDs.

Source #

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

Changelog #

Version Description
2.3.0 Introduced.