1. Home
  2. Snippets
  3. Change CSV export delimiter

Change CSV export delimiter

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.


By default, CSV exports of WPForms entry data will be comma-delimited. However, some systems that accept CSV data may require an alternate delimiter format.

Changing the delimiter for CSV exports for WPForms requires only a short snippet of code. As an example, we’ll modify the CSV separator symbol to be a semicolon.

 * Change delimiter used in WPForms CSV export of entries to semicolon.
add_filter( 'wpforms_csv_export_separator', function( $sep ) {
	return ';';
} );
Updated on May 7, 2018

Was this article helpful?