WC_Helper::flush_product_usage_notice_rules_cache()public staticWC 1.0

Flush product-usage-notice-rules cache.

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

Хуков нет.

Возвращает

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

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

$result = WC_Helper::flush_product_usage_notice_rules_cache();

Код WC_Helper::flush_product_usage_notice_rules_cache() WC 9.4.2

public static function flush_product_usage_notice_rules_cache() {
	delete_transient( '_woocommerce_helper_product_usage_notice_rules' );
}