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 can be used to manipulate the separator for checkboxes and other arrays in a .csv file.
Usage
add_filter('frm_csv_sep', 'frm_csv_sep'); function frm_csv_sep($separator)
Parameters
- $separator (string)
Examples
Replace Separator on Export
This example can be used to separate checkboxes and other arrays with a space instead of a comma upon exporting the .csv file.
add_filter('frm_csv_sep', 'frm_csv_sep');
function frm_csv_sep($separator){
return ' ';
}