how to allow svg image in WordPress via code
Theme Functions File: You can allow SVG uploads by adding custom code to your theme's functions.php file. Here's how to do it:
a. Access your WordPress admin dashboard.
b. Navigate to "Appearance" and select "Theme Editor."
c. Find and select the functions.php file on the right-hand side.
d. Add the following code to the functions.php file:
function allow_svg_upload($mimes)...
0 Shares
5403 Views
0 Reviews