Logo Logo Logo Logo Logo
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
Back to all articles →

Topic: Actions and Filters / Functions PHP File / WooCommerce / Wordpress

09 Feb Add custom text to checkout page

Posted at 20:31h in Actions and Filters, Functions PHP File, WooCommerce, Wordpress by Atkinson
// -------Add custom text to checkout page
add_action( 'woocommerce_review_order_before_payment', 'add_payment_text', 50 );
function add_payment_text() {
    echo '<h3 class="custom-payment-method-header">Choose payment method.</h3>';
}


Facebook • Instagram • Dribbble • Twitter • LinkedIn
Copyright © Janet Atkinson 2023. All Rights Reserved.
Images and/or Artwork may not redistributed, reproduced, or republished without prior written permission.


For fine art painting and other personal work by Janet Atkinson please visit janetatkinsonstudio.com