WordPress at a glance
filter is not described

wp_read_video_metadata filter-hook . WP 4.9.0

Filters the array of metadata retrieved from a video.

In core, usually this selection is what is stored. More complete data can be parsed from the $data parameter.

Usage

add_filter( 'wp_read_video_metadata', 'filter_function_name_9979', 10, 4 );
function filter_function_name_9979( $metadata, $file, $file_format, $data ){
	// filter...

	return $metadata;
}
$metadata(array)
Filtered Video metadata.
$file(string)
Path to video file.
$file_format(string)
File format of video, as analyzed by getID3.
$data(string)
Raw metadata from getID3.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

wp_read_video_metadata()
wp_read_video_metadata
wp-admin/includes/media.php 3357
return apply_filters( 'wp_read_video_metadata', $metadata, $file, $file_format, $data );

Where the hook is used (in WP core)

Usage not found!