• Resolved KevEd

    (@keved)


    Hi, is it possible to remove all media items from the Library that were uploaded by a specific user/author?

    An automated process uploaded 52,000 images which can be attributed to one author account.

    Thanks

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

    (@tigroumeow)

    Hi,

    There are many filters in Media Cleaner, so the only way right now would be to implement the wpmc_check_media filter. The first argument is a boolean stating that whether the media is being considered used by Media Cleaner, and the second argument is the Media ID. You can return here true if you want to avoid this media being removed for a specific user.

    I’ll write some examples later in the documentation ??

Viewing 1 replies (of 1 total)
  • The topic ‘Remove all media from specific author?’ is closed to new replies.