wp_cache_set_terms_last_changed() WordPress Function
The wp_cache_set_terms_last_changed() function is used to set the last changed time for the terms cache. This is used to invalidate the cache when new terms are added or updated.
wp_cache_set_terms_last_changed() #
Sets the last changed time for the ‘terms’ cache group.
Source
File: wp-includes/taxonomy.php
function wp_cache_set_terms_last_changed() { wp_cache_set( 'last_changed', microtime(), 'terms' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |