Skip to content

Instantly share code, notes, and snippets.

@wpmonks
Created December 16, 2018 12:18
Show Gist options
  • Save wpmonks/3e5852fe97fd6932e03aaf145a783853 to your computer and use it in GitHub Desktop.
Save wpmonks/3e5852fe97fd6932e03aaf145a783853 to your computer and use it in GitHub Desktop.
Change ‘Select all’ for particular Gravity form
add_filter( 'gform_checkbox_select_all_label_FORMID', '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