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.
By default, you can set the CSV export format when exporting on the Import/Export page. However, exporting from the entries page defaults to UTF-8. This hook can be used to change the format of the CSV exported from your entries page.
Formidable Forms is the best WordPress Form Builder plugin. Get it for free!
Usage
add_filter( 'frm_csv_format', 'set_frm_csv_format' ); function set_frm_csv_format( $format )
Parameters
- $format (string)
Examples
Change the format
add_filter('frm_csv_format', 'set_frm_csv_format');
function set_frm_csv_format(){
return 'windows-1256';
}