Retrieves and displays content attribute value.
Uses the.attribute filter.
- Full name:
the_attribute - Defined in:
cms/core/Shared/Helpers/content.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$content |
string|\App\Domain\Content\Model\Content|\App\Domain\Content\ValueObject\ContentId | Content object or id. |
$key |
string | Content attribute key. |
Return Value
string
Content attribute value.