update_termmeta_cache


update_termmeta_cache ( $term_ids )

Parameters:
  • (array) term_ids List of term IDs.
Returns:
  • (array|false) An array of metadata on success, false if there is nothing to update.
Defined at:

Description

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.

Related Functions

update_sitemeta_cache, update_meta_cache, update_term_cache, update_postmeta_cache, update_comment_cache

Top Google Results

User discussions

wpseek mobile