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.

Метод класса: Shipping{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = Shipping::delete_zone_count_transient();

Код Shipping::delete_zone_count_transient() WC 9.0.2

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