Automattic\WooCommerce\Blocks\Patterns
PTKPatternsStore::flush_cached_patterns
Reset the cached patterns to fetch them again from the PTK.
Метод класса: PTKPatternsStore{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PTKPatternsStore = new PTKPatternsStore(); $PTKPatternsStore->flush_cached_patterns();
Код PTKPatternsStore::flush_cached_patterns() PTKPatternsStore::flush cached patterns WC 9.9.4
public function flush_cached_patterns() { delete_transient( self::TRANSIENT_NAME ); }