HTTP/2 301
server: nginx
date: Sat, 11 Oct 2025 09:45:46 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
vary: accept, content-type
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/functions/update_termmeta_cache/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
HTTP/2 200
server: nginx
date: Sat, 11 Oct 2025 09:45:47 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
update_termmeta_cache() – Function | Developer.WordPress.org
update_termmeta_cache( array $term_ids ): array|false
Updates metadata cache for list of term IDs.
Performs SQL query to retrieve all metadata for the terms matching $term_ids
and stores them in the cache. Subsequent calls to get_term_meta()
will not need to query the database.
$term_ids
array required List of term IDs.
array|false An array of metadata on success, false if there is nothing to update.
Version Description 4.4.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.