W3cubDocs

/WordPress

WP_Widget_Recent_Comments::flush_widget_cache()

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

Flushes the Recent Comments widget cache.

Description

Source

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

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

Changelog

Version Description
4.4.0 Fragment caching was removed in favor of split queries.
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget_recent_comments/flush_widget_cache