Forums

retrieve author name from author ID (2 posts)

  1. romain_becket
    Member
    Posted 3 years ago #

    Hi,
    I have the author ID of an author and I would like to retrieve his name. How can I do ?
    Thanks for your help.

    Best regards
    Romin

  2. emanuel.l
    Member
    Posted 3 years ago #

    Try:

    $author_name = get_userdata($author_id)->display_name;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags