Last active
August 10, 2018 01:55
-
-
Save mrkdevelopment/3ce195a068b1b29056e4e8ab890543b7 to your computer and use it in GitHub Desktop.
Add logo to checkout page in WooCommerce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * add stripe logo to WooCommerce checkout page | |
| */ | |
| function add_siteseal() { | |
| echo '<img src="https://www.mrkwebsites.com/wp-content/uploads/2017/07/powered_by_stripe_big.png" alt="Power by Stripe" />'; | |
| } | |
| add_action( 'woocommerce_after_checkout_form', 'add_siteseal'); |
Author
Author
A link to a video with the relevant code explained and how to use it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This snippet is used in your WordPress functions file to be able to insert a site seal or logo on the checkout form page.