Forked from stuartduff/woocommerce-change-gravity-forms-product-addons-select-options-text.php
Created
January 5, 2018 17:24
-
-
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
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
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