• Resolved abhisheksinha24

    (@abhisheksinha24)


    Hi,

    We want to delete a bunch of our older webstories in bulk (~100 stories). When we delete the webstories, the associated image is still in the Media library, how do we delete them as well in bulk?

Viewing 1 replies (of 1 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Images that were uploaded in the Web Stories editor usually have at least 1 term in the web_stories_media_source taxonomy, so you could filter attachments by those with terms in that taxonomy. Tools like WP-CLI are typically helpful in such cases.

    However, note that the images might be in use elsewhere on your site as well, so delete them at your own risk and make sure you have a backup first.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.