Core Function
View Source on Trac ↗ get_the_author_posts()
get_the_author_posts( ) Retrieves the number of posts by the author of the current post.
Return Value
(int)
The number of posts by the author.
Function Information
Since Version
1.5.0
Source File
wp-includes/author-template.php
Advertisement