
如何实现WordPress网站多语言版本以吸引不同语种用户
wp_cache_set_posts_last_changed ( No parameters )
wp_cache_set_posts_last_changed: 这个函数更新缓存中最近的文章活动的时间戳: 这是用来确定缓存的文章数据是否仍然有效或需要刷新。
设置”post” 缓存组的最后更改时间。
function wp_cache_set_posts_last_changed() { wp_cache_set( 'last_changed', microtime(), 'posts' ); }