Hello, I am from China. Your code and plug-in are very helpful, but they seem to only work when the post format is standard. If the post format is pictures or videos, they seem to be invalid.I need your help
]]>Hi,
I use Brizy page builder to create my posts. I attach files to the post using the Brizy editor.
I installed the Delete Post with Attachments plugin and then deleted posts (permanently deleted them), the media attached to the posts wasn’t deleted.
]]>Is is possible to have you customize something within this plugin? I’d simply like the opacity settings of the announcement banners changed. The text is a bit hard to read without hovering over with the mouse.
EDIT: I just realized I posted this in the wrong place and I’m not sure how to delete it. I was referring to the Site Notices plugin.
]]>When evaluation plugins for a client, we also took a quick look at this plugin and its code and saw this wrong parameter, did not test any further.
wp_delete_attachment( $attachment->ID, 'true' );
Second parameter should be bool
, not string
:
wp_delete_attachment( $attachment->ID, true );
Delete Post with Attachments 1.1.2
]]>Hello, this plugin works beautifully with default posts, but when I delete posts from the custom post type, it just leaves unjoined attachments in the library.
]]>