WPDev.one
Core Function
View Source on Trac ↗

get_the_author_link()

get_the_author_link( )

Retrieves either author's link or author's name.

Return Value

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

Function Information

Since Version
3.0.0
Source File
wp-includes/author-template.php
Advertisement