video_upload_filetypes, $video_exts

video_upload_filetypes, $video_exts

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('video_upload_filetypes, $video_exts') is found 1 times:

  • /class.json-api-endpoints.php line 2589
    		 * @since 3.2.0
    		 *
    		 * @param array $video_exts Array of video filetypes allowed on the site.
    		 */
    		$video_exts  = apply_filters( 'video_upload_filetypes', $video_exts );
    		$video_mimes = array();
    
    		if ( ! empty( $video_exts ) ) {
    			foreach ( $video_exts as $ext ) {
    				foreach ( $mime_list as $ext_pattern => $mime ) {
    					if ( '' !== $ext && str_contains( $ext_pattern, $ext ) ) {