Retrieve content attribute field for a content.


  • Full name: get_content_attribute
  • Defined in: cms/core/Shared/Helpers/content.php

Parameters

Parameter Type Description
$contentId string Content ID.
$key string Optional. The attribute key to retrieve.
$default bool Optional. Default value.

Return Value

mixed