W3cubDocs

/WordPress

the_author_posts()

Display the number of posts by the author of the current post.

Source

File: wp-includes/author-template.php

function the_author_posts() {
	echo get_the_author_posts();
}

Changelog

Version Description
0.71 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_author_posts