learndash_get_user_course_access_list( int $user_id )
Gets the list of course IDs accessible by the user.
Description Description
Parameters Parameters
- $user_id
-
(Optional) The ID of the user to get course list. Default 0.
Return Return
(array) An array of course IDs.
Source Source
File: includes/ld-users.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |