do_action( 'llms_user_enrolled_in_course', int $user_id , int $product_id )
Fires after a user is enrolled in course
Parameters Parameters
- $user_id
-
(int) WP User ID.
- $product_id
-
(int) WP Post ID of the course or membership.