Remove Stripe Woocommerce Credit Card Icons (and replace with image)

admin2025-01-07  4

Trying to remove all of the Stripe credit card svg icons from the credit card option on the Woocommerce checkout page.

I see this:

But that just shows how to change one.

Any idea how to remove them all and place a 180 x 27 px .png image in their place?

Trying to remove all of the Stripe credit card svg icons from the credit card option on the Woocommerce checkout page.

I see this:

https://docs.woocommerce.com/document/stripe/#section-39

But that just shows how to change one.

Any idea how to remove them all and place a 180 x 27 px .png image in their place?

Share Improve this question asked Apr 7, 2020 at 18:49 JessJess 1
Add a comment  | 

1 Answer 1

Reset to default 0

The easiest way to hide all icons is to add this to your child's functions.php file

add_filter( 'wc_stripe_payment_icons', 'hide_my_icons' );
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736264496a972.html

最新回复(0)