Automattic\WooCommerce\Blocks\Patterns
PTKPatternsStore::flush_cached_patterns
Reset the cached patterns to fetch them again from the PTK.
Method of the class: PTKPatternsStore{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$PTKPatternsStore = new PTKPatternsStore(); $PTKPatternsStore->flush_cached_patterns();
PTKPatternsStore::flush_cached_patterns() PTKPatternsStore::flush cached patterns code WC 9.9.3
public function flush_cached_patterns() { delete_transient( self::TRANSIENT_NAME ); }