wpcom_vip_get_category_by_slug

This is the old deprecated version of wpcom_vip_get_category_by_slug().

Please don’t use this function in any new code.

Parameters

Name Type Description
string Category slug

Return Value

object|null|bool: Term Row from database. Will return null if doesn't match a term. If taxonomy does not exist then false will be returned.

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.