This filter can be used to manipulate the data that will be saved in a CSV for export. These are the individual entries of the export file for the feedback.

 * @param array $line The single entry as an array, for the export file.
 * @param object $row The data of the individual entry, from the database.
 * @return array
add_filter('helpful/feedback/export/line', function(array $line, object $row) {
    return $line;
}, 10, 2);

Was this post helpful?