Function: getCustomTaxonomy()
getCustomTaxonomy(
slug,sourceUrl?):undefined|CustomTaxonomy
Defined in: packages/core/src/utils/config.ts:227
Returns a single post type by slug if defined
Parameters
slug
string
post type slug
sourceUrl?
string
Returns
undefined | CustomTaxonomy