wpseek.com
A WordPress-centric search engine for devs and theme authors
update_{$meta_type}_metadata_cache › WordPress Filter Hooks
Since5.0.0
Deprecatedn/a
› apply_filters( "update_{$meta_type}_metadata_cache", null, $object_ids )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
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 (blog, 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_blog_metadata_cache` - `update_post_metadata_cache` - `update_comment_metadata_cache` - `update_term_metadata_cache` - `update_user_metadata_cache`Related Functions: update_menu_item_cache, update_meta_cache, update_object_term_cache, update_term_cache, update_metadata, update_postmeta_cache