wpcom_vip_get_term_by

This is the old deprecated version of wpcom_vip_get_term_by().

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

Parameters

Name Type Description
string Either 'slug', 'name', or 'id'
$value string|int Search for this term value
$taxonomy string Taxonomy Name
$output string Optional. Constant OBJECT, ARRAY_A, or ARRAY_N
string Optional. Default is 'raw' or no WordPress defined filter will applied.
Term mixed|null|bool Row from database in the type specified by $filter. Will return false if $taxonomy does not exist or $term was not found.

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.