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.


Top ↑

Source Source

File: includes/models/model.llms.student.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 The $enrollment_trigger parameter was added.
3.33.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.