Last active
March 23, 2019 15:42
-
-
Save techskilled/bc0b3ed651d9ea7cc0c746ae6065786c to your computer and use it in GitHub Desktop.
Woocommerce - Single Product - Add Content After Add to Cart
This file contains 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
/** | |
* @snippet Woocommerce Checkout - Add Secure Logo to Checkout Page | |
* @code https://techskilled.co.uk/snippets/woocommerce-checkout-add-secure-logo-to-checkout-page | |
* @author https://techskilled.co.uk | |
*/ | |
function bbloomer_trust_place_order() { | |
echo '<img src="https://www.paypalobjects.com/digitalassets/c/website/marketing/na/us/logo-center/9_bdg_secured_by_pp_2line.png" style="margin: 1em auto">'; | |
} | |
add_action( 'woocommerce_review_order_after_submit', 'bbloomer_trust_place_order' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment