Add option to delete attached gallery/images when post/page is deleted

  1. azlivin008


    Whenever I expire a post or page and delete it from the trash, it leaves all of the attached images in the media library. I average about 30-50 photos per post/page, so I then have to go through every few months and manually find the old photos that are no longer attached to posts or pages so I can individually delete them....which is not easy, because media library does not do sorting very well and you can also only delete the currently viewable 20-30 images at a time when doing bulk deletes.

    Posted: 4 years ago #
  2. Ipstenu (Mika Epstein)

    WP does not do this by default since there is no guarantee that attachment isn't still being used by some other post.

    http://wordpress.org/plugins/delpost/ can do this.

    Posted: 4 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    1 Vote
  • Status

    This is plugin territory

No tags yet.