Changes between Initial Version and Version 1 of Ticket #47868
- Timestamp:
- 08/13/2019 01:31:21 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47868
- Property Component General → Media
-
Ticket #47868 – Description
initial v1 7 7 8 8 I'm calling 9 9 {{{ 10 10 $attachments = get_attached_media('', $post->ID); 11 11 foreach ($attachments as $attachment) { 12 12 wp_delete_attachment($attachment->ID, true); 13 13 wp_delete_attachment never returns falsy. 14 14 }}} 15 15 How can I figure out and fix wp_delete_attachment ? 16 16
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)