learndash_get_user_groups_courses_ids( int $user_id )
Gets all courses accessible by the user’s groups.
Parameters #
- $user_id
-
(int)
(Optional)
User ID. Default 0.
Return #
(array) An array of course IDs.
Changelog #
Changelog
| Version |
Description |
| 2.3.0 |
Introduced. |