Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stuartduff/6a7c1934312b54243d336af13eab3b01 to your computer and use it in GitHub Desktop.
Save stuartduff/6a7c1934312b54243d336af13eab3b01 to your computer and use it in GitHub Desktop.
Change the product archive Select Options text in GravityForms Product Addons for WooCommerce using the filter woocommerce_gforms_add_to_cart_text
function change_gravity_add_to_cart() {
return 'Changed Text';
}
add_filter( 'woocommerce_gforms_add_to_cart_text', 'change_gravity_add_to_cart' );
@askwpgirl
Copy link

Thanks! Works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment