arfcsvwhere
Usage:
add_filter('arfcsvwhere', 'your_function', 10, 2);
function your_function($where_clause = '', $form_ids){
//Return where condition to get records exported in CSV.
$where_clause .= 'WHERE CLAUSE';
return $where_clause;
}
Parameters:
$where_clause
Where clause to get records to be exported in CSV file.
$form_ids
Array of Form Ids.