Warning: This method has been deprecated. Fragment caching was removed in favor of split queries instead.

WP_Widget_Recent_Comments::flush_widget_cache() WordPress Method

The WP_Widget_Recent_Comments::flush_widget_cache() method is used to clear the cache for the most recent comments widget. This is useful when the comments for a post are updated or when a new comment is added.

WP_Widget_Recent_Comments::flush_widget_cache() #

Flushes the Recent Comments widget cache.


Source

File: wp-includes/widgets/class-wp-widget-recent-comments.php

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


Top ↑

Changelog

Changelog
VersionDescription
4.4.0Fragment caching was removed in favor of split queries.
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.