Payment Icons
The 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.
- 1
-
Create a new icon file
Create a new icon file inside the child theme directory
assets/img/payment-icons
with the naming conventionicon-custom-key.svg.php
, where "custom-key" can be chosen and should indicate the payment method name. f.ex.icon-bitpay.svg.php
.
- 2
-
Add the icon into the theme settings
From the functions.php file of your child theme, add the new icon into the settings
Example with real filenames and their keys
Requirements
- 3.9.0 or greater