Filters the list of supported video formats.
Parameters
$extensions
string[]- An array of supported video formats. Defaults are
'mp4'
,'m4v'
,'webm'
,'ogv'
,'flv'
.
Source
return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.