The PayPal Express Checkout Payment gateway plugin shows PayPal credit/debit card checkout choices on the checkout page as illustrated below:
![]()
If you want to delete or modify the Credit/Debit card images linked to the checkout option, you can use the provided methods.
Steps to remove credit/debit card icons from the checkout page
To remove or hide the debit/credit card icons:
- In your WordPress dashboard, navigate to Appearance > Theme editor.
- Then, add the code snippet below at the bottom end of functions.php of the active theme file.
- Alternatively, if you can’t locate the functions.php file, use a third-party code snippet plugin to add the code. To learn more about using a third-party plugin for snippet addition, check out the following article: Adding Custom Codes with a Third-Party Plugin.
![]()
Including the code snippet above will eliminate the credit/debit card icons from the checkout page as illustrated below:
![]()
Steps to change the credit/debit card icons on the checkout page
To change the debit/credit card icons:
- Navigate to Appearance > Theme editor from your WordPress dashboard.
- Next, insert the code snippet below at the end of the functions.php file for the active theme.
- If you can’t find the functions.php file, you can use a third-party code snippet plugin to insert the code. For more information on how to use a third-party plugin for adding snippets, refer to the article: Adding Custom Codes with a Third-Party Plugin.
Incorporating the code snippet above will eliminate the credit/debit card icons from the checkout page as demonstrated below:
![]()
Instructions for changing the credit/debit card icons on the checkout page.
If you want to include an image of your preference, just swap out the URL in the code snippet with the URL of the image you want to show. For instance, $icon_url=’ //insert image URL here’;