update_termmeta_cache() – Updates metadata cache for list of term IDs.
You appear to be a bot. Output may be restricted
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.
Usage
$array|false = update_termmeta_cache( $term_ids );
Parameters
- $term_ids
- ( array ) required – List of term IDs.
Returns
array|false An array of metadata on success, false if there is nothing to update.
Source
File name: wordpress/wp-includes/taxonomy.php
Lines:
1 to 3 of 3
function update_termmeta_cache( $term_ids ) { return update_meta_cache( 'term', $term_ids ); }