On this page
apply_filters( 'wp_video_extensions', string[] $extensions )
Filters the list of supported video formats.
Parameters
$extensionsstring[]-
An array of supported video formats. Defaults are
'mp4','m4v','webm','ogv','flv'.
Source
File: wp-includes/media.php. View all references
return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_video_extensions() wp-includes/media.php | Returns a filtered list of supported video formats. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_video_extensions