Restrict to Certain Post Types
-
Hello Eusebiu,
First off, your plugin looks really promising and I look forward to trying it out.
Question… Could you add the ability to restrict its functions to specific post types only?
For example, I don’t necessarily want any attachments deleted for the default Post\Page post types as I expect attachments to be shared between those. But when I create a custom post type for let’s say a business directory called “Businesses”, I don’t expect those attachments to be shared. So I’d like to auto-delete attachments that belong to posts/pages only if that post/page belongs to the “Businesses” custom post type.
I think this would add flexibility to your plugin and allow it to be used more widely.
Thanks!
- The topic ‘Restrict to Certain Post Types’ is closed to new replies.