WC_Widget::flush_widget_cache()

Flush the cache.


Description Description


Source Source

File: includes/abstracts/abstract-wc-widget.php

	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' );
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.