WordPress at a glance
filter is not described

update_(meta_type)_metadata_by_mid filter-hook . WP 5.0.0

Filters whether to update metadata of a specific type by meta ID.

The dynamic portion of the hook, $meta_type, refers to the meta object type (comment, post, term, or user). Returning a non-null value will effectively short-circuit the function.

Usage

add_filter( 'update_(meta_type)_metadata_by_mid', 'filter_function_name_1787', 10, 4 );
function filter_function_name_1787( $check, $meta_id, $meta_value, $meta_key ){
	// filter...

	return $check;
}
$check(null/true/false)
Whether to allow updating metadata for the given type.
$meta_id(int)
Meta ID.
$meta_value(mixed)
Meta value. Must be serializable if non-scalar.
$meta_key(string/true/false)
Meta key, if provided.

Where the hook is called

update_metadata_by_mid()
wp-includes/meta.php 665
$check = apply_filters( "update_{$meta_type}_metadata_by_mid", null, $meta_id, $meta_value, $meta_key );

Where the hook is used (in WP core)

wp-includes/default-filters.php 106
add_filter( 'update_term_metadata_by_mid', 'wp_check_term_meta_support_prefilter' );