apply_filters( 'wp_read_video_metadata', array $metadata, string $file, string $file_format, string $data )

Filters the array of metadata retrieved from a video.


Description

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


Parameters

$metadata

Filtered Video metadata.

$file

Path to video file.

$file_format

File format of video, as analyzed by getID3.

$data

Raw metadata from getID3.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.0 Introduced.