Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @jemcbade,

    It doesn’t; but there is a list of post types I avoid in the detection (mostly log kind of post types). I could also add a WP filter (or even an option) if that helps, so that you could avoid certain post types.

    What are the post types you would like to ignore, btw?

    Thread Starter jemcbade

    (@jemcbade)

    Jordy,

    Thanks for the reply!

    Just the (kinda’) opposite ??

    Actually I would like to have a list of post types to specifically select including my CPTs to scan only when necessary.

    Thanks,

    -John

    Plugin Author Jordy Meow

    (@tigroumeow)

    Just the (kinda’) opposite ??

    I was afraid you would say that :p In fact, what do you expect to scan if you only “select” a few CPTs? Media Cleaner analyzes your Media Library. If you only check your Media Library entries against a “selection” of CPTs, then the only advantage you get is that the scan might run faster; but the quality of the results can only be worse.

    Thread Starter jemcbade

    (@jemcbade)

    Here is the key: advanced specificity. I want my clients to have a way to clean the Media Library but only for CPTs I have created. They are not savvy enough to realize this result of the scan includes assets that are part of templates for example.

    Use case: They have a CPT that lists cars available for their car sales business. They sell the car, delete the post but the assets are still in the Media Library. I want to “Re-determine” that only assets that are from trashed (and were in emptied trash) are removed for certain post types.

    The plugin “Autoremove Attachments” performs this way BUT if they have uploaded the images for the vehicle manually, they are not removed. Only if they add the assets within the post creation page will this work. I can with that specify they only remove attachments for listed CPTs. I wonder if there is any way to specify that these images were used but not anymore only for certain post types.

    Again, it’s not about “speed” but specificity.

    Thank you for your time on this question.

    Plugin Author Jordy Meow

    (@tigroumeow)

    I see what you mean; indeed, the best way would be to really write a little script that remove the attached images when the post is deleted.

    Media Cleaner can’t do this, since it doesn’t know what used to be attached, and even if a post is in the trash, from Media Cleaner, it’s still in use (as it could be retrieved).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Filtering the search’ is closed to new replies.