A function which retrieves a content slug.

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


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

Parameters

Parameter Type Description
$contentId string Content id.

Return Value

string

Content slug or ''.