helpful/feedback/export/csv_name

This filter determines the name of the export file for the feedback. By default, feedback.csv is used, overwriting the old file each time (less file garbage).

/**
 * @param string $filename File name of the CSV file (with extension).
 * @return string
 */
add_filter('helpful/feedback/export/csv_name', function(string $filename) {
    return $filename;
});

Was this post helpful?

Top