learndash_notifications_delete_sent_emails_record_on_unenrolled_group( int $user_id, $group_id )
Delete sent notification records if user is unenrolled from group
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