Short-circuits updating the metadata cache of a specific type.
The dynamic portion of the hook name, $meta_type, refers to the meta object type (post, comment, term, user, or any other type with an associated meta table).
Returning a non-null value will effectively short-circuit the function.
Possible hook names include:
update_post_metadata_cacheupdate_comment_metadata_cacheupdate_term_metadata_cacheupdate_user_metadata_cache$checkmixed
$object_idsint[]
$check = apply_filters( "update_{$meta_type}_metadata_cache", null, $object_ids );
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/update_meta_type_metadata_cache