Last active
November 21, 2017 16:05
-
-
Save robin-scott/7f59dd2ba078cb7dd40ec2282a9d822f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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