A function which retrieves content content_type.

Purpose of this function is for the get.content.content.type filter.


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

Parameters

Parameter Type Description
$contentId string Content id.

Return Value

string

Content Type or '' on failure