Created
September 9, 2016 18:12
-
-
Save isaumya/05d9e82b90f1def992cb6a3600655df5 to your computer and use it in GitHub Desktop.
Change the the Product Label to Custom Text - Gravity Forms
This file contains hidden or 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
<?php | |
//* Changing Price Label in Gravity Forms - Supports the latest version too | |
//* in gform_product_price_6 the 6 denoted to the FORM ID | |
add_filter( 'gform_product_price_6', function( $sublabel, $form_id ) { | |
return 'Donation Amount'; | |
}, 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment