SVG Code in Radio Image Choices
-
Hello there,
Is there a way to add SVG code directly in the choices instead of image URLs? I want to this in order to keep my theme size light-weighted.
Example –
‘choices’ => [
‘option-1’ => ‘<svg xmlns=”https://www.w3.org/2000/svg”></svg>’,
‘option-2’ => ‘<svg xmlns=”https://www.w3.org/2000/svg”></svg>’,
‘option-3’ => ‘<svg xmlns=”https://www.w3.org/2000/svg”></svg>’,
],I am not sure if there’s any filter existed that can make it happen.
Thank you in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SVG Code in Radio Image Choices’ is closed to new replies.