Advertisement
majeedraza

WooCommerce - Change order button text

Apr 26th, 2020
512
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. </php
  2.   // WooCommerce - Change order button text
  3.   add_filter( 'woocommerce_order_button_text', 'custom_order_button_text' );
  4.   function custom_order_button_text( $button_text ) {
  5.    return 'Pay now';
  6.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement