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