Skip to content

Instantly share code, notes, and snippets.

@robin-scott

robin-scott/functions.php

Last active Nov 21, 2017
Embed
What would you like to do?
//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