wp_cache_set_sites_last_changed() WordPress Function
The wp_cache_set_sites_last_changed() function sets the last changed time for the current site. This is used to invalidate all cached data for the site.
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' );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |