Filters the list of supported audio formats.
Parameters
$extensions
string[]- An array of supported audio formats. Defaults are
'mp3'
,'ogg'
,'flac'
,'m4a'
,'wav'
.
Source
foreach ( wp_get_attachment_id3_keys( $attachment ) as $key => $label ) {
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.