Fires immediately before updating metadata of a specific type.
Description
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). Possible hook names include: <ul> <li>update_post_meta</li> <li>update_comment_meta</li> <li>update_term_meta</li> <li>update_user_meta</li> </ul>
284*285* @param int$meta_idID of the metadata entry to update.286* @param int$object_idID of the object metadata is for.287* @param string$meta_key Metadata key.288* @param mixed$_meta_value Metadata value.289*/290do_action("update_{$meta_type}_meta",$meta_id,$object_id,$meta_key,$_meta_value);291292if('post'===$meta_type){293/**294* Fires immediately before updating a post's metadata.295*296* @since 2.9.0
History
Introduced in 2.9.0. Unchanged from 6.7.7 through 7.1.0.