On this page
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
File: wp-admin/includes/media.php. View all references
return apply_filters( 'wp_read_audio_metadata', $metadata, $file, $file_format, $data );
Related
Used By
| Used By | Description |
|---|---|
| wp_read_audio_metadata() wp-admin/includes/media.php | Retrieves metadata from an audio file’s ID3 tags. |
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_read_audio_metadata