the post_author_meta_box uses wp_dropdown_users showing the user name of authors.
How do I display the email address in brackets next the author’s name?
Can one filter the wp_dropdown users do to this?
Leave a Reply
You must be logged in to post a comment.
the only filter hook called in
wp_dropdown_users()
function iswp_dropdown_users
which pass a string of the dropdown in an html form so you can manipulate this dropdown at that hook with some major REGEX.A better solution would be to use get_users() and create the dropdown your self, something like this: