• Resolved Bruno Martinez

    (@brmartinez)


    Hello, I’m trying to batch delete my unused images.

    WP-Optimize finds more than 60.000 of them, but it seems it only select and delete the first 99 when I click on “select all”.

    I’ve noticed that if I scroll the unused images list, more appear to be selected. But it would take hours for me to manually do this.

    Can you fix this bug or make a suggestion, please?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • @brmartinez

    You can add the following code to your theme’s functions.php or your preferred location in order to increase the items per page:

    add_filter('wpo_unused_images_per_page', function() {
    	return 1500;
    });

    (This will increase to 1500 images per page. You can try to go higher, but it might get slow.)

    Kind regards,
    Harshad

Viewing 1 replies (of 1 total)
  • The topic ‘batch delete unused images’ is closed to new replies.