WordPress at a glance

the_author_posts_link() WP 1.0

Displays an HTML link to the author page of the current post's author.

Notes:

  • Since 4.4.0 Converted into a wrapper for get_the_author_posts_link()
Works based on: get_author_posts_url()
✈ 1 time = 0.000012s = very fast | 50000 times = 0.01s = speed of light PHP 7.1.2, WP 4.7.3

No Hooks.

Return

Nothing (null).

Usage

the_author_posts_link( $deprecated );
$deprecated(string)
Unused.
Default: ''

Code of the_author_posts_link: wp-includes/author-template.php VER 4.9.8

<?php
function the_author_posts_link( $deprecated = '' ) {
	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, '2.1.0' );
	}
	echo get_the_author_posts_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