You are here

function hook_ds_taxonomy_term_separators in Display Suite 7.2

Alter the strings used to separate taxonomy terms.

File

./ds.api.php, line 588
Hooks provided by Display Suite module.

Code

function hook_ds_taxonomy_term_separators(&$separators) {

  // Remove the option to use a hyphen.
  unset($separators[' - ']);

  // Add the option to use a pipe.
  $separators[' | '] = t('pipe');
}