WordPress at a glance
filter is not described

get_(meta_type)_metadata_by_mid filter-hook . WP 5.0.0

Filters whether to retrieve 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( 'get_(meta_type)_metadata_by_mid', 'filter_function_name_8872', 10, 2 );
function filter_function_name_8872( $value, $meta_id ){
	// filter...

	return $value;
}
$value(mixed)
The value get_metadata_by_mid() should return.
$meta_id(int)
Meta ID.

Where the hook is called

get_metadata_by_mid()
get_(meta_type)_metadata_by_mid
wp-includes/meta.php 601
$check = apply_filters( "get_{$meta_type}_metadata_by_mid", null, $meta_id );

Where the hook is used (in WP core)

wp-includes/default-filters.php 105
add_filter( 'get_term_metadata_by_mid', 'wp_check_term_meta_support_prefilter' );