the_author_posts_link() WordPress Function

The the_author_posts_link() function displays a link to the author's archive page, which contains all their posts. This is useful if you want to give your readers a way to view all of an author's posts in one place.

the_author_posts_link( string $deprecated = '' ) #

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


Parameters

$deprecated

(string)(Optional)Unused.

Default value: ''


Top ↑

Source

File: wp-includes/author-template.php

function the_author_posts_link( $deprecated = '' ) {
	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, '2.1.0' );
	}
	echo get_the_author_posts_link();
}


Top ↑

Changelog

Changelog
VersionDescription
4.4.0Converted into a wrapper for get_the_author_posts_link()
1.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.