I ran into one more problem,
add_filter('gfexcel_field_label', function($label, GF_Field $field) {
if ($field->formId === 1 && $field->id === 13) {
return 'Promotion';
}
return $label;
}, 10, 2);
That works, and all fields in the code above it. The next one is
add_filter('gfexcel_field_label', function($label, GF_Field $field) {
if ($field->formId === 1 && $field->id === 13) {
return 'Promotion';
}
return $label;
}, 10, 2);
It doesn’t work, and none of the code below it does. Is it because I’m being lazy and not writing a function and I’m repeating code? Thanks for the help!