Using plugin to delete old events – not future events

Home Forums Bulk Delete Addons Delete Posts by Custom Field Using plugin to delete old events – not future events

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

This topic contains 3 replies, has 2 voices, and was last updated by  Sudar 7 years, 8 months ago.

  • Author
    Posts
  • #11019

    claretha bradford
    Participant

    I figured out how to delete tribe_events by adding _EventEndDate as the Key. However, I would like to be able to have events that are two days old (for example) be automatically deleted (according to event date and not the date that it was posted). Will the scheduler add-on accomplish this?

  • #11099

    Sudar
    Keymaster

    Hello Claretha,

    As you figured out the event date is stored in a meta key. So what you are doing by selecting _EventEndDate is correct.

    However right now you have to give an explicit date in the value field.

    We are however working on a feature that would make it possible to set expressions like ‘2 days ago’. But right now it is still work in progress.

  • #13282

    Sudar
    Keymaster

    Hello Claretha,

    Just a quick note to let you know that we just released v1.0.0 of Bulk Delete Posts by Custom Field add-on with the ability to specify dynamic or relative dates.

The forum ‘Delete Posts by Custom Field’ is closed to new topics and replies.