Open thomasplevy opened 7 years ago
Transactions should be deleted when an order is deleted
@thomasplevy we should remove access plans when "parent" course/membership is permanently deleted, as we don't have the concept of an "orphan" access plan. Should we add this to the list above or should we open a new issue?
@eri-trabiccolo added above
use action
wp_trash_post
(https://core.trac.wordpress.org/browser/tags/4.5.3/src/wp-includes/post.php#L2656) to perform lookups before trashingAlso check into untrash actions
course
sections
lesson
quiz
questions
track
membership
~user~
User cleanup moved to #940
orders
WIP: https://github.com/gocodebox/lifterlms/blob/master/includes/class.llms.post.relationships.php