Support » Plugin: Autoremove Attachments » How autoremove only post body attached images?

  • Resolved moisb

    (@moisb)


    hi guys, i have a custom post type on my site that has: 1 body attached image and 1 featured thumbnail each.
    When deleting such posts, I would like the plugin to remove only the body image of the posts, never the featured image (because some are attached in other posts I don’t want to delete).

    In this case, what would be the custom code to insert into functions?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How autoremove only post body attached images?’ is closed to new replies.