Created
December 16, 2018 12:20
-
-
Save wpmonks/eb85d124f6d5b98a3fd914056c7a6575 to your computer and use it in GitHub Desktop.
Change ‘Select all’ for particular field in Gravity forms
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
add_filter( 'gform_checkbox_select_all_label_FORMID_FIELDID', 'wpmonks_change_label', 10, 2 ); | |
function wpmonks_change_label( $select_label, $field ){ | |
return "My Label"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment