A function which retrieves content time.
Uses call_user_func_array() function to return appropriate content time function.
Dynamic part is the variable $type, which calls the date function you need.
- Full name:
get_content_time - Defined in:
cms/core/Shared/Helpers/content.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$type |
string | Type of date to return: created, published, modified. Default: published. |
$contentId |
string | Content id. |
Return Value
string
Content time.