Hi @rd4282, cool; I just needed to know because not every approval plugin works the same, and it isn’t a native feature.
If you apply this to your functions.php
you should be all set. This will filter down EVERY form. If you need a specific form just append the form id to the filter name like gfexcel_output_search_criteria_4
for form_id 4.
// Filter down to only approved entries.
add_filter('gfexcel_output_search_criteria', static function (array $search_criteria): array {
$search_criteria['field_filters'][] = [
'key' => 'is_approved',
'value' => 1,
];
return $search_criteria;
});
Please let me know if this helps you out.