Skip to content

Instantly share code, notes, and snippets.

@steppohub
Created December 2, 2014 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steppohub/33ec232cb044c45c0e7e to your computer and use it in GitHub Desktop.
Save steppohub/33ec232cb044c45c0e7e to your computer and use it in GitHub Desktop.
Aussie Gravity Forms address
// 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