Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
defined( 'ABSPATH' ) || die();
add_action( 'wp_rocket_loaded', function() {
remove_filter( 'delete_transient_wc_products_onsale', 'wp_suspend_cache_invalidation' );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment