A function which retrieves a content's relative url.

Purpose of this function is for the get.{$contenttype}.relative.url filter.


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

Parameters

Parameter Type Description
$contentId string Content id.

Return Value

string

Content relative url or '' on failure.