Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_video_extensions ›

Da3.6.0
Deprecaton/a
wp_get_video_extensions ( Nessun parametro )
Ritorna:
  • (array) List of supported video formats.
Definito a:
Codex:

Returns a filtered list of WP-supported video formats.



Sorgenti

function wp_get_video_extensions() {
	/**
	 * Filters the list of supported video formats.
	 *
	 * @since 3.6.0
	 *
	 * @param array $extensions An array of supported video formats. Defaults are
	 *                          'mp4', 'm4v', 'webm', 'ogv', 'flv'.
	 */
	return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );
}