WordPress at Your Fingertips
action is not described

updated_(meta_type)_meta action-hook . WP 2.9.0

Fires immediately after updating metadata 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).


add_action( 'updated_(meta_type)_meta', 'action_function_name_2117', 10, 4 );
function action_function_name_2117( $meta_id, $object_id, $meta_key, $_meta_value ){
	// action...
ID of updated metadata entry.
ID of the object metadata is for.
Metadata key.
Metadata value. Serialized if non-scalar.

Where the hook is called

wp-includes/meta.php 292
do_action( "updated_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $_meta_value );
wp-includes/meta.php 877
do_action( "updated_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $_meta_value );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 103
add_action( 'updated_post_meta', 'wp_cache_set_posts_last_changed' );
wp-includes/default-filters.php 108
add_action( 'updated_term_meta', 'wp_cache_set_terms_last_changed' );
wp-includes/default-filters.php 121
add_action( 'updated_comment_meta', 'wp_cache_set_comments_last_changed' );
wp-includes/ms-default-filters.php 59
add_action( 'updated_blog_meta', 'wp_cache_set_sites_last_changed' );