The  wpcrm_system_create_prefixes allows you to filter the name prefixes (mr, mrs, dr, etc.) that are used when creating new contacts.

The function checks to see if the name prefix that is being imported is valid against the array of prefixes that are included in the  $prefixes variable that is passed to the filter. If so, the function returns the correctly formatted prefix, and if not it returns an empty string.

This can allow you to include prefixes in your own language, or add custom name prefixes, yet still have the values display correctly in WP-CRM System.

Prefixes included by default are:

$prefixes    = array(
     'mr'        =>    'mr',
     'mrs'        =>    'mrs',
     'miss'        =>    'miss',
     'ms'        =>    'ms',
     'dr'        =>    'dr',
     'master'    =>    'master',
     'coach'        =>    'coach',
     'rev'        =>    'rev',
     'fr'        =>    'fr',
     'atty'        =>    'atty',
     'prof'        =>    'prof',
     'hon'        =>    'hon',
     'pres'        =>    'pres',
     'gov'        =>    'gov',
     'ofc'        =>    'ofc',
     'supt'        =>    'supt',
     'rep'        =>    'rep',
     'sen'        =>    'sen',
     'amb'        =>    'amb', 
);