Support › MB Frontend Submission › Delete all media images linked to post type using front end form
i am using metabox for my post type i save images using frontend form with input type advance_image
now problem is if i delete my post type my media images linked to this post type not delete.
please help me resolve this issue thanks
Hi, please follow this solution: https://wordpress.stackexchange.com/q/134894/2051
hi support I followed that link hint but its not working can provide another link
Please try these solutions:
https://wordpress.stackexchange.com/a/134916/2051 (note that in this answer, there's a check for post type of the being deleted post).
You can also do some search on Google with the term like "wordpress delete attachments when delete post". This is how I found these answers.
Please see my other post:
Well, the URL didn't save: Link: