Delete Expired TEC Event

Home Forums Ticket Products Community Tickets Delete Expired TEC Event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1324586
    Brandon Hughes
    Participant

    Hello,

    https://theeventscalendar.com/support/forums/topic/remove-events-if-start-date-has-passed/#post-1298182

    In this post Barry gave a link to a zip file and I had a couple of questions about it.

    Is it hiding the event from showing or completely deleting event?

    If the event is being deleted….
    will attachments (images) also be deleted, from WP media file?

    Thanks
    Brandon

    #1326037
    Barry
    Member

    Hi Brandon,

    It deletes them (by calling wp_delete_post()) and so follows the usual rules in such a situation.

    In this case that means the post and postmeta will be deleted (not trashed or hidden – but deleted outright). However, any featured images will not be deleted entirely: they will remain in the media library and the files should remain on the disk.

    I hope that clarifies things!

    #1336088
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Delete Expired TEC Event’ is closed to new replies.