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: ''
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(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Converted into a wrapper for get_the_author_posts_link() |
1.2.0 | Introduced. |