Is there a way to mass delete attachments without deleting the form entries themselves?

By: Simon Browning | Asked: 04/12/2022
ForumsCategory: General questionsIs there a way to mass delete attachments without deleting the form entries themselves?
Simon Browning asked 2 years ago

Hey there

We have a form on our site through which we receive a lot of program applications, owith 2 attachments per application (so there are ~2600 attachments). Is there a way to mass delete attachments submitted to us through forms without deleting the form entries themselves?

Thank you

1 Answers
Best Answer
Victor Font answered 2 years ago

Form entries are stored in the database. Uploaded files are stored on the server. You can delete files from the server using your server's file manager.

I would test this thoroughly though in case deleting a physical file breaks anything in WordPress.

Simon Browning replied 2 years ago

Thank you.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right