do_action( 'llms_user_enrollment_deleted', int $user_id , int $product_id , string $enrollment_trigger )
Fires after an user enrollment has been deleted.
Parameters Parameters
- $user_id
-
(int) WP User ID.
- $product_id
-
(int) WP Post ID of the course or membership.
- $enrollment_trigger
-
(string) The enrollment trigger.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.2.0 | The $enrollment_trigger parameter was added. |
3.33.0 | Introduced. |