Glossary Term
update_object_term_cache()
update_object_term_cache() — Updates the cache for the given term object ID(s). Note: Due to performance concerns, great care should be taken to only update term caches when necessary. Processing time can increase exponentially depending on both the number of passed term IDs and the number of taxonomies those terms belong to. Caches will only be updated for terms not already cached.
Inputs: $object_ids (string|int[]): Comma-separated list or array of term object IDs. $object_type (string|string[]): The taxonomy object type or array of the same.
Returns void|false: Void on success or if the $object_ids parameter is empty, false if all of the terms in $object_ids are already cached.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
