WC_Helper_Updater::flush_updates_cache()
Flushes cached update data.
{} It's a method of the class: WC_Helper_Updater{}
No Hooks.
Return
null
. Nothing.
Usage
$result = WC_Helper_Updater::flush_updates_cache();
Code of WC_Helper_Updater::flush_updates_cache() WC Helper Updater::flush updates cache WC 6.6.1
public static function flush_updates_cache() { delete_transient( '_woocommerce_helper_updates' ); delete_transient( '_woocommerce_helper_updates_count' ); delete_site_transient( 'update_plugins' ); delete_site_transient( 'update_themes' ); }