Skip to main content

Home/ Wordpress/ Contents contributed and discussions participated by Elías Gómez

Contents contributed and discussions participated by Elías Gómez

Elías Gómez

Allow SVG through WordPress Media Uploader | CSS-Tricks - 0 views

  •  
    function cc_mime_types($mimes) {
    $mimes['svg'] = 'image/svg+xml';
    return $mimes;
    }
    add_filter('upload_mimes', 'cc_mime_types');
  •  
    function cc_mime_types($mimes) {
    $mimes['svg'] = 'image/svg+xml';
    return $mimes;
    }
    add_filter('upload_mimes', 'cc_mime_types');
1 - 6 of 6
Showing 20 items per page