WordPress at a glance

the_author_link() WP 1.0

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

If the author has a home page set, echo an HTML link, otherwise just echo the author's name.

Works based on: get_the_author_link()
✈ 1 time = 0.000045s = very fast | 50000 times = 0.28s = very fast PHP 7.1.2, WP 4.7.3

No Hooks.

Return

Nothing (null).

Usage

the_author_link();

Code of the_author_link: wp-includes/author-template.php VER 5.0.1

<?php
function the_author_link() {
	echo get_the_author_link();
}

Related Functions

From tag: Link (tag A in HTML)

More from category: Other

More from Template Tags: Authors

No comments
    Hello, !     Log In . Register