get_the_author_posts() – Retrieve the number of posts by the author of the current post.
You appear to be a bot. Output may be restricted
Description
Retrieves the number of posts by the author of the current post.
Usage
$int = get_the_author_posts();
Parameters
Returns
int The number of posts by the author.
Source
File name: wordpress/wp-includes/author-template.php
Lines:
1 to 7 of 7
function get_the_author_posts() { $post = get_post(); if ( ! $post ) { return 0; } return count_user_posts( $post->post_author, $post->post_type ); }