Set a default (CSV) delimiter

Description

There is a filter available to set a default (CSV) delimiter. This delimiter is then automatically selected on admin pages (default delimiter is 'comma').

Usage

  1. function acfcs_delimiter( $value ) {
  2.     return $value;
  3. }
  4. add_filter( 'acfcs_delimiter', 'acfcs_delimiter' );

The returned $default_value must be a string with one of the following delimiters:

  • , [comma]
  • ; [semi-colon]
  • | [pipe]

Used in