wpcom_vip_count_user_posts

Cached version of count_user_posts, which is uncached but doesn’t always need to hit the db

count_user_posts is generally fast, but it can be easy to end up with many redundant queries if it’s called several times per request. This allows bypassing the db queries in favor of the cache

Parameters

This function has no parameters.

Return Value

void

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.