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