A function which retrieves a content's permalink.

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


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

Parameters

Parameter Type Description
$contentId string Content id.

Return Value

string

Content permalink or '' on failure.