Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
function support_custom_mimes( $mimes ){
$mimes['webm'] = 'video/webm';
return $mimes;
}
add_filter( 'upload_mimes', 'support_custom_mimes' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment