Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This hook allows you to manipulate the line breaks in the downloaded .csv log file.
Formidable Forms is the best WordPress Form Builder plugin. Get it for free!
Usage
add_filter('frm_logs_csv_line_break', 'prevent_log_csv_line_break');
Parameters
- none
Examples
Prevent Line Break
This example will prevent line breaks from being fragmented when being imported as an .csv file.
add_filter('frm_logs_csv_line_break', 'prevent_log_csv_line_break');
function prevent_log_csv_line_break(){
return '<br />'; //change this to what you want to use in place of line breaks
}