Retrieve content attribute field for a content.


  • Full name: get_page_attribute
  • Defined in: cms/core/Shared/Helpers/page.php

Parameters

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

Return Value

mixed