Browse: Home / Functions /

learndash_get_paynow_courses

learndash_get_paynow_courses( boolean $bypass_transient = false )

Gets all the courses with the price type paynow.


Description #

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


Parameters #

$bypass_transient

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

Default value: false


Return #

(array) An array of course IDs.


Source #

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


Changelog #

Changelog
Version Description
2.3.0 Introduced.