Displays an HTML link to the author page of the current post’s author.
Parameters
$deprecated
stringoptional- Unused.
Default:
''
Source
function the_author_posts_link( $deprecated = '' ) {
if ( ! empty( $deprecated ) ) {
_deprecated_argument( __FUNCTION__, '2.1.0' );
}
echo get_the_author_posts_link();
}
Changelog
Version | Description |
---|---|
4.4.0 | Converted into a wrapper for get_the_author_posts_link() |
1.2.0 | Introduced. |
Use Example
Displays the link, with the link text value as the user’s Display Name.