Skip to content

Instantly share code, notes, and snippets.

@wpmonks
Created December 16, 2018 12:20
Show Gist options
  • Save wpmonks/eb85d124f6d5b98a3fd914056c7a6575 to your computer and use it in GitHub Desktop.
Save wpmonks/eb85d124f6d5b98a3fd914056c7a6575 to your computer and use it in GitHub Desktop.
Change ‘Select all’ for particular field in Gravity forms
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