• Resolved peterallcdn

    (@peterallcdn)


    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eusebiu Oprinoiu

    (@eusebiuoprinoiu)

    Hello, Peter!

    This sounds like a good idea. I’m going to implement something by the end of the week. I’m out of town for a few days and without access to my laptop, I won’t be able to make the changes sooner.

    Best regards,
    Eusebiu Oprinoiu

    Thread Starter peterallcdn

    (@peterallcdn)

    Wow, that’s fantastic! I look forward to the update and it’s greatly appreciated.

    Thanks again!

    Plugin Author Eusebiu Oprinoiu

    (@eusebiuoprinoiu)

    Hello, Peter!

    I just released an update to help you achieve your goal.
    At first, I wanted to create an options page to make it very easy for everyone to change the default behavior but this might cause confusion if the content architecture of a website changes over time and the admins forget to alter the settings. ( The automatic removal of media files is irreversible and it should always be done with caution )
    That’s why I decided to add a filter, so only those who really need this feature to be the ones who use it.
    You can find instructions in the FAQ section. If you don’t know how to use the filter, let me know and I will make you a small add-on plugin, tailored specifically for your website.

    Best regards,
    Eusebiu Oprinoiu

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restrict to Certain Post Types’ is closed to new replies.