Browse: Home / Functions /

learndash_get_user_course_access_list

learndash_get_user_course_access_list( int $user_id )

Gets the list of course IDs accessible by the user.


Description #


Parameters #

$user_id

(int) (Optional) The ID of the user to get course list. Default 0.


Return #

(array) An array of course IDs.


Source #

File: includes/ld-users.php


Changelog #

Changelog
Version Description
2.3.0 Introduced.