Reduce the Remove Unused CSS batch size in WP Rocket

Reduce the Remove Unused CSS batch size in WP Rocket on child sites.

Snippet Type

Execute on Child Sites

Snippet

function rucss_batch_size( $rucss_batch_size ) {   
    
     // change this value, default is 100 urls:
     $rucss_batch_size = 50; 
     
     return $rucss_batch_size;
 }
     
add_filter( 'rocket_rucss_pending_jobs_cron_rows_count', 'rucss_batch_size'  );

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.