On this page
the_author_link()
Displays either author’s link or author’s name.
Description
If the author has a home page set, echo an HTML link, otherwise just echo the author’s name.
Source
File: wp-includes/author-template.php. View all references
function the_author_link() {
echo get_the_author_link();
}
Related
Uses
| Uses | Description |
|---|---|
| get_the_author_link() wp-includes/author-template.php | Retrieves either author’s link or author’s name. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_author_link