I saw this answer...

Query to delete all featured images and remove post meta?

...but it deleted ALL featured images and post meta. I would like to do the same for all "events" posts created by Modern Tribe's The Event Calendar Pro plugin, but only for events that have already expired. Can anyone help?

  • You would need to add some extra conditions to the answer you found, but which ones depends on how the plugin is organized. So you should ask its maker. – cjbj Feb 11 at 8:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.