learndash_notifications_enroll_course( int $user_id, int $course_id, array $access_list, bool $remove )
Send learndash notification email when user enrolls into a course
Contents
Description #
Parameters #
- $user_id
-
(int) (Required) ID of user who enroll
- $course_id
-
(int) (Required) ID of course enrolled into
- $access_list
-
(array) (Required) List of users who have access to the course
- $remove
-
(bool) (Required) True if remove user access from a course | false otherwise