Filter hook 'wp_read_video_metadata'
in WP Core File wp-admin/includes/media.php at line 3677
Description
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.
Occurrences
Filename |
Line Number |
wp-admin/includes/media.php |
3677 |
Parameters
Type |
Name |
Description |
array |
$metadata |
Filtered video metadata. |
string |
$file |
Path to video file. |
string|null |
$file_format |
File format of video, as analyzed by getID3. Null if unknown. |
array |
$data |
Raw metadata from getID3. |
PHP Doc
/**
* 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.
*
* @since 4.9.0
*
* @param array $metadata Filtered video metadata.
* @param string $file Path to video file.
* @param string|null $file_format File format of video, as analyzed by getID3.
* Null if unknown.
* @param array $data Raw metadata from getID3.
*/