WC_Widget::flush_widget_cache
Flush the cache.
Метод класса: WC_Widget{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Widget = new WC_Widget(); $WC_Widget->flush_widget_cache();
Код WC_Widget::flush_widget_cache() WC Widget::flush widget cache WC 10.4.2
public function flush_widget_cache() {
foreach ( array( 'https', 'http' ) as $scheme ) {
wp_cache_delete( $this->get_widget_id_for_cache( $this->widget_id, $scheme ), 'widget' );
}
}