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

$metadataarray
Filtered audio metadata.
$filestring
Path to audio file.
$file_formatstring|null
File format of audio, as analyzed by getID3.
Null if unknown.
$dataarray
Raw metadata from getID3.

Source

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

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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