Opened 7 years ago
Last modified 6 years ago
#41931 new feature request
Not possible to add custom display_name option
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.8.2 |
Component: | Users | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
In The Netherlands we do have insertion names, to be placed in between the first and last name. It is possible to add a custom field during registration, but in order to give the user the option to include the insertion name in his display_name, a core modification is necessary.
Hereby the request to add a line to wp-admin/user-edit.php at line 422:
<?php $public_display = apply_filters( 'edit_user_public_display_dropdown', $public_display, $profileuser);
This way, it is possible to add custom public_display options.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
First pass at adding filter and cleanup