Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When a New User to register on my site ...

I would like that in your login, the first letter always be capitalized. ( uppercase letter )


Does anyone have any idea how to do this?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can possibly add a filter to sanitize_user and return ucfirst($username);, I haven't tried it though to verify if it will work.

share|improve this answer
i will try and tell you what happen. thanks – Alyson Veras Aug 24 '11 at 23:18
do you have any ideia about a code to do this? i'm not a programmer – Alyson Veras Aug 25 '11 at 16:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.