Used By
Used By | Description |
---|---|
wp-includes/meta.php: update_meta_cache() | Updates the metadata cache for the specified objects. |
Short-circuits updating the metadata cache of a specific type.
The dynamic portion of the hook, $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.
(mixed) Whether to allow updating the meta cache of the given type.
(int[]) Array of object IDs to update the meta cache for.
File: wp-includes/meta.php
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/update_meta_type_metadata_cache