You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Currently in the settings of the plugin there is the section called title e.g. Credit / Debit Card which shows up on the checkout page. Now if you let's say want to add a credit card icon before that text, I don't know if there is any existing filter available for that. Currently I simply add the i tag before the title. But though this hacky approach works fine on the checkout page, but it does create a lot of issues as mentioned below:
Inside the WooCommerce dashboard for every payment, the payment method shows up like <i class="something"></i> Credit / Debit Card.
The same issue can also can be seen in many other places.
The reason for this is most of these places uses esc_html() on the payment method mane.
So, it would be really helpful if there was any easy filter using which an icon can be added without adding HTML inside the payment method name.
If there is any such existing filter with I'm unaware of, please let me know. It would be really helpful.
Thanks. Looking forward to a reply.
The text was updated successfully, but these errors were encountered:
Hi,
Currently in the settings of the plugin there is the section called title e.g.
Credit / Debit Card
which shows up on the checkout page. Now if you let's say want to add a credit card icon before that text, I don't know if there is any existing filter available for that. Currently I simply add thei
tag before the title. But though this hacky approach works fine on the checkout page, but it does create a lot of issues as mentioned below:<i class="something"></i> Credit / Debit Card
.The reason for this is most of these places uses
esc_html()
on the payment method mane.So, it would be really helpful if there was any easy filter using which an icon can be added without adding HTML inside the payment method name.
If there is any such existing filter with I'm unaware of, please let me know. It would be really helpful.
Thanks. Looking forward to a reply.
The text was updated successfully, but these errors were encountered: