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?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.