Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Shipping::delete_zone_count_transient()public staticWC 1.0

Delete the zone count transient used in has_shipping_zones() method to refresh the cache.

Method of the class: Shipping{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Shipping::delete_zone_count_transient();

Shipping::delete_zone_count_transient() code WC 8.9.0

public static function delete_zone_count_transient() {
	delete_transient( self::ZONE_COUNT_TRANSIENT_NAME );
}