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|false) 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_sitemeta_cache, update_termmeta_cache, update_comment_cache, update_menu_item_cache

Top Google Results

User discussions

wpseek mobile