wp_cache_set_posts_last_changed()
Sets the last changed time for the ‘posts’ cache group.
Source
File: wp-includes/post.php
function wp_cache_set_posts_last_changed() {
wp_cache_set( 'last_changed', microtime(), 'posts' );
} Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_set_posts_last_changed