Display name on registration page
-
Hi,
i create an own (text) field for display name but why is this field shown on the registration page too?
If i look in the source code, i can read:if ( ( 'edit' == $tag ) && ( '' == $wpmem->regchk ) ) { switch ( $meta_key ) { (...) case 'display_name': $val = sanitize_text_field( $userdata->display_name ); break; (...)So i would say that this field is only displayed if the profile ist edit by logged in user, because only then $tag is edit. Otherwise $tag ist new.
Regards, Thomas
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Display name on registration page’ is closed to new replies.