WordPress开发者和主题制作者的搜索引擎



wp_video_extensions ›

Since3.6.0
已弃用n/a
apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' )
参数:
  • (array) $extensions An array of supported video formats. Defaults are 'mp4', 'm4v', 'webm', 'ogv', 'flv'.
    Required: Yes
定义在:
文档:

Filters the list of supported video formats.





源码

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