Skip to content

Instantly share code, notes, and snippets.

@techskilled
Last active March 23, 2019 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techskilled/bc0b3ed651d9ea7cc0c746ae6065786c to your computer and use it in GitHub Desktop.
Save techskilled/bc0b3ed651d9ea7cc0c746ae6065786c to your computer and use it in GitHub Desktop.
Woocommerce - Single Product - Add Content After Add to Cart
/**
* @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