get_usernumposts

get_usernumposts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_usernumposts') is found 1 times:

  • /wp-includes/user.php line 603
    	 * @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.0