WC_Helper_Admin::run_clear_cache_toolpublic staticWC 1.0

"Clear" helper cache by invalidating it.

Method of the class: WC_Helper_Admin{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WC_Helper_Admin::run_clear_cache_tool();

WC_Helper_Admin::run_clear_cache_tool() code WC 10.3.3

public static function run_clear_cache_tool() {
	WC_Helper::_flush_subscriptions_cache();
	WC_Helper::flush_product_usage_notice_rules_cache();
	WC_Helper::flush_connection_data_cache();
	WC_Helper_Updater::flush_updates_cache();

	return __( 'Helper cache cleared.', 'woocommerce' );
}