[wp-trac] [WordPress Trac] #55071: Add a filter for fullname in wp_list_users()

WordPress Trac noreply at wordpress.org
Fri Feb 4 01:38:05 UTC 2022

#55071: Add a filter for fullname in wp_list_users()
 Reporter:  tmatsuur         |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Users            |    Version:  5.9
 Severity:  normal           |   Keywords:
  Focuses:                   |
 The wp_list_users function has been added in version 5.9.

 In the source code of this function, the full name is "first_name

 Japanese people's full names are usually "last_name first_name" and it
 would be useful to have a filter for full names.

 $name = apply_filters( 'wp_list_users_fullname', "$user->first_name
 $user->last_name", $user, $args );

Ticket URL: <https://core.trac.wordpress.org/ticket/55071>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list