Answers for "svg upload wordpress code"

PHP
0

upload svg to wordpress

function cc_mime_types($mimes) {
 $mimes['svg'] = 'image/svg+xml';
 return $mimes;
}
add_filter('upload_mimes', 'cc_mime_types');
Posted by: Guest on December-25-2020

Browse Popular Code Answers by Language