W3cubDocs

/WordPress

wp_cache_set_comments_last_changed()

Sets the last changed time for the ‘comment’ cache group.

Source

File: wp-includes/comment.php

function wp_cache_set_comments_last_changed() {
	wp_cache_set( 'last_changed', microtime(), 'comment' );
}

Changelog

Version Description
5.0.0 Introduced.

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