// Disable thumbnail regeneration during WooCommerce updates add_filter('woocommerce_background_image_regeneration', '__return_false');