apply_filters( 'lifterlms_legacy_delete_enrollment_action', boolean $delete )
Customize the behavior of enrollment deletion for “legacy” orders.
Description Description
These orders were created before version 3.0.0 when there was no stored enrollment trigger.
By default, we’ll automatically delete these enrollments regardless of trigger.
Parameters Parameters
- $delete
-
(boolean) Whether or not to delete the enrollment.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.33.0 | Introduced. |