Filters the number of posts a user has written.
$countint$useridint$post_typestring|array$public_onlyboolwp-includes/user.php:645count_user_posts()<?php * * @param int $count The user's post count. * @param int $userid User ID. * @param string|array $post_type Single post type or array of post types to count the number of posts for. * @param bool $public_only Whether to limit counted posts to public posts. */ return apply_filters( 'get_usernumposts', $count, $userid, $post_type, $public_only );} /** * Gets the number of posts written by a list of users. * * @since 3.0.0Introduced in 2.7.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$count retyped from int to string.verified against source