A WordPress-centric search engine for devs and theme authors



wp_video_extensions ›

Since3.6.0
Deprecatedn/a
apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' )
Parameters:
  • (array) $extensions An array of supported video formats. Defaults are 'mp4', 'm4v', 'webm', 'ogv', 'flv'.
    Required: Yes
Defined at:
Codex:

Filters the list of supported video formats.





Source

return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );