Problem with svg icons
-
Hello!
I have experience the issue with icons displaying after the Wishlist plugin update.
You provide the ability to modify the HTML of Wishlist button through the apply_filters, add_filter construction. The issue is that you now wrap this in the wp_kses_post function, which removes icons in the SVG format.
return wp_kses_post( apply_filters( 'woosw_button_html', $output, $attrs['id'], $attrs ) );
Since I use your add-on in conjunction with Elementor (which now has the Inline Font Icons option enabled by default https://prnt.sc/hzzSdv0Cwb-G) , I need the ability to display SVG format. Is it possible to implement this?
Thanks in advance for your help!
- The topic ‘Problem with svg icons’ is closed to new replies.