Browse: Home / Classes /

Delete

Delete

LearnDash Order Deletion class.


Description #


Source #

File: src/Core/Modules/Payments/Orders/Admin/Actions/Delete.php


Changelog #

Changelog
Version Description
4.19.0 Introduced.


Methods #

  • permanently_delete — Permanently deletes child Orders when the parent Order is permanently deleted.
  • process_child_transactions — Applies a callback to every child Transaction of a given parent Transaction by Post ID.
  • restore_from_trash — Restores child Orders from the trash when the parent Order is restored from the trash.
  • send_to_trash — Sends child Orders to the trash when the parent Order is sent to the trash.