[ Web Proxy ]
URL:
Viewing: https://developer.wordpress.org/reference/functions/wp_cache_set_terms_last_changed/ [Back]  [Original]

wp_cache_set_terms_last_changed() Function | Developer.WordPress.org Skip to content
WordPress.org

wp_cache_set_terms_last_changed()

In this article

Table of Contents

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

Source

function wp_cache_set_terms_last_changed() {
	wp_cache_set_last_changed( 'terms' );
}
UsesDescription
wp_cache_set_last_changed()wp-includes/functions.php

Sets last changed date for the specified cache group to now.

Used byDescription
clean_taxonomy_cache()wp-includes/taxonomy.php

Cleans the caches for a taxonomy.

clean_object_term_cache()wp-includes/taxonomy.php

Removes the taxonomy relationship to terms from the cache.

clean_term_cache()wp-includes/taxonomy.php

Removes all of the term IDs from the cache.

wp_set_object_terms()wp-includes/taxonomy.php

Creates term and taxonomy relationships.

wp_remove_object_terms()wp-includes/taxonomy.php

Removes term(s) associated with a given object.

Changelog

VersionDescription
5.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.


Web Proxy Viewer  |  New URL  |  Original Page