Checks if a given content type exists on content.
- Full name:
if_content_type_exists - Defined in:
cms/core/Shared/Helpers/db.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentType |
string | Content Type slug to check for. |
Return Value
bool
Returns true if content type exists or false otherwise.