Core Function
View Source on Trac ↗ _prime_term_caches()
_prime_term_caches( mixed $term_ids, mixed $update_meta_cache = true ) Adds any terms from the given IDs to the cache that do not already exist in cache.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $term_ids array | Array of term IDs. Required |
| $update_meta_cache bool | Optional. Whether to update the meta cache. Default true. |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.6.0
Source File
wp-includes/taxonomy.php
Advertisement