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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Fragment caching was removed in favor of split queries. |
2.8.0 | Introduced. |