Created
March 4, 2015 19:34
-
-
Save ChrisCree/07748639a3a8f395a420 to your computer and use it in GitHub Desktop.
Filter to enable the setting in Gravity Forms where users can hide the field labels. This is useful in conjunction with the new Gravity Forms placeholder functionality as of version 1.9+
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
<?php | |
// DO not copy opening PHP tag above | |
// Enable Gravity Forms setting to hide form labels | |
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment