get_the_author_link


get_the_author_link ( No parameters )

Returns:
  • (string) An HTML link if the author's URL exists in user meta, otherwise the result of get_the_author().
Defined at:

Description

Retrieves either author's link or author's name.If the author has a home page set, return an HTML link, otherwise just return the author's name.

Related Functions

get_the_author_login, get_the_author_id, get_author_link, the_author_link, get_the_author_aim

Top Google Results

User discussions

wpseek mobile