apply_filters( 'wp_read_audio_metadata', array $metadata, string $file, string|null $file_format, array $data )

Filters the array of metadata retrieved from an audio file.


Description

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


Parameters

$metadata

Filtered audio metadata.

$file

Path to audio file.

$file_format

File format of audio, as analyzed by getID3.<br> Null if unknown.

$data

Raw metadata from getID3.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
6.1.0 Introduced.