A function which retrieves a content_type slug.
Purpose of this function is for the get.content.type.slug
filter.
- Full name:
get_content_type_slug - Defined in:
cms/core/Shared/Helpers/content-type.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentTypeId |
string | The unique id of a content_type. |
Return Value
string
Content Type slug or '' on failure.