do_action( 'learndash_update_course_access', int $user_id, int $course_id, string $course_access_list, boolean $remove )

Fires after a user’s list of courses are updated.


Description Description


Parameters Parameters

$user_id

User ID.

$course_id

Course ID.

$course_access_list

A comma-separated list of user IDs used for the course_access_list field.

$remove

Whether to remove course access from the user.


Top ↑

Source Source

File: includes/course/ld-course-user-functions.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.