W3cubDocs

/WordPress

wp_cache_set_sites_last_changed()

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

Source

File: wp-includes/ms-site.php

function wp_cache_set_sites_last_changed() {
	wp_cache_set( 'last_changed', microtime(), 'sites' );
}

Changelog

Version Description
5.1.0 Introduced.

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