the_author_posts_link
Displays an HTML link to the author page of the current post's author.
Description
the_author_posts_link( (string) $deprecated = '' );
Parameters (1)
- 0. $deprecated — Optional. (string) =>
''
- The deprecated.
Usage
if ( !function_exists( 'the_author_posts_link' ) ) { require_once ABSPATH . WPINC . '/author-template.php'; } // The deprecated. $deprecated = ''; // NOTICE! Understand what this does before running. $result = the_author_posts_link($deprecated);
Defined (1)
The function is defined in the following location(s).
- /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();
- }