WordPress at Your Fingertips
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.


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

	return $metadata;
Filtered Video metadata.
Path to video file.
File format of video, as analyzed by getID3.
Raw metadata from getID3.


Since 4.9.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.