Last active
March 17, 2017 12:49
-
-
Save Stoltze/f1247b004fb8e88756068e0968f5bd95 to your computer and use it in GitHub Desktop.
Make "Gravity Form"-fields possible to make invisible + Danish way of ZIP
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 | |
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); | |
add_filter( 'gform_address_display_format', 'address_format' ); | |
function address_format( $format ) { | |
return 'zip_before_city'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment