fazlurr
7/16/2014 - 3:51 AM

Allow SVG through WordPress Media Uploader - http://css-tricks.com/snippets/wordpress/allow-svg-through-wordpress-media-uploader/

<?php
function cc_mime_types( $mimes )
{
	$mimes['svg'] = 'image/svg+xml';
	return $mimes;
}
add_filter( 'upload_mimes', 'cc_mime_types' );
?>