Browse: Home / Functions /

learndash_user_group_enrolled_to_course_from

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 #


Parameters #

$user_id

(int) (Required) User ID.

$course_id

(int) (Required) Course ID.

$bypass_transient

(boolean) (Optional) Whether to bypass transient cache.

Default value: false


Return #

(string|void) The timestamp of when a course is available to a user in a group.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.