Skip to content

Instantly share code, notes, and snippets.

@clifgriffin
Created March 22, 2023 18:17
Show Gist options
  • Save clifgriffin/dbf3f42b81dbeb3efb462a5862333660 to your computer and use it in GitHub Desktop.
Save clifgriffin/dbf3f42b81dbeb3efb462a5862333660 to your computer and use it in GitHub Desktop.
Adding custom HTML to the CheckoutWC Payment step
<?php
// 2 - Above Mobile Coupons
// 7 - Above Payment Methods
// 15 - Above Billing Address Group
// 27 - Above Order Notes Field
// 35 - Above Terms and Conditions
add_action( 'cfw_checkout_payment_method_tab', function() {
echo '<h2>'Your Disclaimer and Other HTML</h2>';
}, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment