Retrieve content type by a given field from the content_type table.
- Full name:
get_content_type_by - Defined in:
cms/core/Shared/Helpers/content-type.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$field |
string | The field to retrieve the content_type with |
| (id = content_type_id, slug = content_type_slug). | ||
$value |
string | A value for $field. |
Return Value
false|object