get_the_author_link
get_the_author_link ( No parameters )
Returns:- (string|null) An HTML link if the author's url exist in user meta, else the result of get_the_author().
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Retrieve 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.