filters – How to replace username with email address in users table
I have a custom built site that does not use usernames and everything requires use of their email address. The username is auto generated and looks bad in the table.
I know there are filters and actions to work with custom columns within the users table but I have been looking for a way to replace the username with the email address.
I know I can unset the username using
manage_users_columns filter but I then loose the row actions.
Is there a way to accomplish this without rewriting wordpress core functions?