0

add_filter( 'upload_mimes', 'c2code_43862_svg_upload' );
function c2code_43862_svg_upload( $existing_mimes = array() ) {
    $existing_mimes['svg'] = 'image/svg+xml';
    return $existing_mimes;
}

Jagdish Sarma Asked question May 25, 2023
Add a Comment