learndash_user_group_enrolled_to_course_from( int $user_id, int $course_id, boolean $bypass_transient = false )
Gets timestamp of when the course is available to a user in a group.
Description Description
Parameters Parameters
- $user_id
-
(Required) User ID.
- $course_id
-
(Required) Course ID.
- $bypass_transient
-
(Optional) Whether to bypass transient cache.
Default value: false
Return Return
(string|void) The timestamp of when a course is available to a user in a group.
Source Source
File: includes/ld-groups.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |