Skip to content

Instantly share code, notes, and snippets.

@wpmonks
Last active January 9, 2019 07:25
Show Gist options
  • Save wpmonks/f4d1d37bc2c10c71b19459761620ecac to your computer and use it in GitHub Desktop.
Save wpmonks/f4d1d37bc2c10c71b19459761620ecac to your computer and use it in GitHub Desktop.
Change ‘Deselect all’ for particular form in Gravity forms
add_filter( 'gform_checkbox_deselect_all_label_FORMID', 'wpmonks_change_label', 10, 2 );
function wpmonks_change_label( $select_label, $field ){
return "My Custom Deselect All";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment