ld_course_access_update

This function has been deprecated. Use ld_course_access_from_update() instead.

ld_course_access_update( int $course_id,  int $user_id,  mixed $access = '',  boolean $is_gmt = false )

Updates the course access time for a user.


Description #


Parameters #

$course_id

(int) (Required) Course ID for update.

$user_id

(int) (Required) User ID for update.

$access

(mixed) (Optional) Value can be a date string (YYYY-MM-DD hh:mm:ss or integer value.

Default value: ''

$is_gmt

(boolean) (Optional) If $access value is GMT (true) or relative to site timezone (false).

Default value: false


Return #

(boolean) Returns true if success.


Source #

File: includes/deprecated/deprecated-functions.php


Changelog #

Changelog
Version Description
2.6.0 Introduced.