Hi,
I’d like to add some php to the WordPress plugin to ensure that all names start with a capital letter and continue in lower case. Too many people seem to enter their name as john or jOHN, or JOhn and when that goes into an automation it looks unprofessional and very obviously automated not personalised.
I can do this in PHP using:
$firstname = strtolower($firstname);
$firstname = ucfirst($firstname);
Where could I insert this in the plugin code in wordpress?
Alternatively is it possible to do this somewhere in an automation, or could it be added universally (surely everyone would want this?)
Apologies for posting in the developers’ forum when I am not a developer, it seemed like the right place for it.
Thanks, Joe Halstead
Except that not all names actually start with an uppercase letter, for example my friend ‘Paul de Gelder’. So forcing things uppercase isn’t necessarily the answer either.