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.


Top ↑

Parameters Parameters

$delete

(boolean) Whether or not to delete the enrollment.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
3.33.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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