Created
December 2, 2014 00:51
-
-
Save steppohub/33ec232cb044c45c0e7e to your computer and use it in GitHub Desktop.
Aussie Gravity Forms address
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
// gravity form hacks | |
add_filter("gform_address_zip", "change_address_zip", 10, 2); | |
function change_address_zip($label, $form_id){ | |
return "Postcode"; | |
} | |
add_filter("gform_address_state", "change_address_state", 10, 2); | |
function change_address_state($label, $form_id){ | |
return "State"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment