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>
290*291* @param int$meta_idID of the metadata entry to update.292* @param int$object_idID of the object metadata is for.293* @param string$meta_key Metadata key.294* @param mixed$_meta_value Metadata value.295*/296do_action("update_{$meta_type}_meta",$meta_id,$object_id,$meta_key,$_meta_value);297298if('post'===$meta_type){299/**300* Fires immediately before updating a post's metadata.301*302* @since 2.9.0
History
Introduced in 2.9.0. Unchanged from 6.7.7 through 7.1.0.