flatsome_payment_icons filter allows you to add custom SVG icons in the payment icons set and makes it available to enable, disable and order in the backend.
Create a new icon file
Create a new icon file inside the child theme directory
with the naming convention
icon-custom-key.svg.php, where "custom-key" can be chosen and should indicate the payment method name. f.ex.
Add the icon into the theme settings
From the functions.php file of your child theme, add the new icon into the settings
- 3.9.0 or greater