update_meta_cache


update_meta_cache ( $meta_type, $object_ids )

Parameters:
  • (string) meta_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
  • (string|int[]) object_ids Array or comma delimited list of object IDs to update cache for.
Returns:
  • (array|bool) Metadata cache for the specified objects, or false on failure.
Defined at:

Description

Updates the metadata cache for the specified objects.

Related Functions

update_postmeta_cache, update_termmeta_cache, update_sitemeta_cache, update_page_cache, update_term_cache

Top Google Results

User discussions

wpseek mobile