Known as field

Since 3.14.0 a member can have a Known as name: the first name they go by when it isn’t their legal first name (e.g. "Tezzuh"). Clubs must hold a member’s full legal name, so first_name and last_name hold the legal name and Known as holds the name they are shown by. It is always labelled "Known as", never "Nickname".

Storage and validation

Display name

Members are shown by their Known as name and legal last name (e.g. "Tezzuh Jiang"), or by their legal first and last name when there is no Known as. sync-display-name sets this with display_name_from: known_as_last. Saving or clearing Known as through the profile form updates the display name automatically, but only when it was built from the names (legal first and last name, the previous Known as and last name, or a placeholder); a display name chosen some other way is left alone. On the BuddyPress profile edit form the script builds the Name field the same way.

xProfile and abilities