WP-Optimize – Purge cache and minify automatically

,

Sometimes there are files that can fill up your hosting account that are not needed. I did some looking for a way to have this auto clean these files. Not sure if this does it but I am hoping it does.

add_filter( 'wp_optimize_minify_cache_expiry_time', function( $original_value ) {
    return time() - 86400 * 3;
} );

 

Skills

Posted on

April 1, 2022

Submit a Comment

Your email address will not be published.