Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lukecav/f26a1cb9b2ab830631f8af6a4f3a5639 to your computer and use it in GitHub Desktop.
Save lukecav/f26a1cb9b2ab830631f8af6a4f3a5639 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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment