apply_filters( 'wp_audio_extensions', string[] $extensions )
Filters the list of supported audio formats.
Parameters
- $extensions
-
(string[]) An array of supported audio formats. Defaults are 'mp3', 'ogg', 'flac', 'm4a', 'wav'.
Source
File: wp-includes/media.php
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_audio_extensions