WP_Widget_Recent_Comments::flush_widget_cache()publicWP 2.8.0

Deprecated from version 4.4.0 Fragment caching was removed in favor of split queries.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Flushes the Recent Comments widget cache.

Method of the class: WP_Widget_Recent_Comments{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Widget_Recent_Comments = new WP_Widget_Recent_Comments();
$WP_Widget_Recent_Comments->flush_widget_cache();

Changelog

Since 2.8.0 Introduced.
Deprecated since 4.4.0 Fragment caching was removed in favor of split queries.

WP_Widget_Recent_Comments::flush_widget_cache() code WP 6.4.3

public function flush_widget_cache() {
	_deprecated_function( __METHOD__, '4.4.0' );
}