Browse: Home / Functions /

ld_course_access_expires_on

ld_course_access_expires_on( int $course_id,  int $user_id )

Gets the amount of time until the course access expires for a user.


Description #


Parameters #

$course_id

(int) (Required) Course ID.

$user_id

(int) (Required) User ID.


Return #

(int) The timestamp for course access expiration.


Source #

File: includes/course/ld-course-user-functions.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.