learndash_get_user_groups_courses_ids

learndash_get_user_groups_courses_ids( int $user_id )

Gets all courses accessible by the user’s groups.


Description #


Parameters #

$user_id

(int) (Optional) User ID. Default 0.


Return #

(array) An array of course IDs.


Source #

File: includes/ld-users.php


Changelog #

Changelog
Version Description
2.3.0 Introduced.