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


Top ↑

Return Return

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


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.