[wp-hackers] How to delete custom post types with attachments too

Rafael Ehlers rafaehlers at gmail.com
Fri Feb 25 18:47:18 UTC 2011

I just figure that when you permanently delete a post (custom post type),
the attachment stay in the database.

How can I do, to delete a post with all attachments associated with it!

More information about the wp-hackers mailing list