*/ function arcHIVE_enable_mime_types( $mimes ) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter('upload_mimes', 'arcHIVE_enable_mime_types');