Skip to content

Instantly share code, notes, and snippets.

@wpmonks
Last active January 9, 2019 07:24
Show Gist options
  • Save wpmonks/68d6cd1b77318bdcc2b4686b5877a9f0 to your computer and use it in GitHub Desktop.
Save wpmonks/68d6cd1b77318bdcc2b4686b5877a9f0 to your computer and use it in GitHub Desktop.
Change ‘Deselect all’ for particular field in Gravity forms.
add_filter( 'gform_checkbox_deselect_all_label_FORMID_FIELDID', '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