apply_filters( 'wp_read_video_metadata', array $metadata, string $file, string|null $file_format, array $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.


Top ↑

Parameters

$metadata array
Filtered video metadata.
$file string
Path to video file.
$file_format string|null
File format of video, as analyzed by getID3.
Null if unknown.
$data array
Raw metadata from getID3.

Top ↑

Source

File: wp-admin/includes/media.php. View all references

return apply_filters( 'wp_read_video_metadata', $metadata, $file, $file_format, $data );


Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.