A function which retrieves a content's parent id.

Purpose of this function is for the get.content.parent.id filter.


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

Parameters

Parameter Type Description
$contentId string Content id.

Return Value

string

Content parent id or '' on failure.