Skip to content

Instantly share code, notes, and snippets.

@robin-scott
Last active November 21, 2017 16:05
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 robin-scott/7f59dd2ba078cb7dd40ec2282a9d822f to your computer and use it in GitHub Desktop.
Save robin-scott/7f59dd2ba078cb7dd40ec2282a9d822f to your computer and use it in GitHub Desktop.
//Add a checkout padlock and alternative message in the Pay Now button - by Robin Scott of Silicon Dales
add_filter( 'woocommerce_order_button_text', 'sd_custom_order_button_text' );
function sd_custom_order_button_text() {
return __( 'Checkout Securely 🔒', 'woocommerce' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment