LLMS_Controller_Orders::on_delete_order( int $post_id )
Called when a post is permanently deleted
Description Description
Will delete any enrollment records linked to the LLMS_Order with the ID of the deleted post.
Parameters Parameters
- $post_id
-
(Required) WP_Post ID.
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.orders.php
Changelog Changelog
Version | Description |
---|---|
3.33.0 | Introduced. |