Is there a way to customize the prune commands in the code to allow the addition of another variable besides the expired ads?
What I want to do is create a custom field called "Sold" using the dropdown list and have the choices as "Yes" and "No". It will default to "No" so that when the user is entering his ad he won't have to change it. When the item is sold, the user will edit his post and change the dropdown to "Yes".
Once the field has the value yes, the ad will automatically deleted during the next prune cycle. Of course, I have to be able to modify the prune code to look for that particular field name and value.