SilverStripe\CMS\Model\SiteTree::link_shortcode_handler
Replace a "[sitetree_link id=n]" shortcode with a link to the page with the corresponding ID.
Signature
public function link_shortcode_handler(array
$arguments,
[string
$content = NULL,
[ShortcodeParser
$parser = NULL]] )
Parameters
$arguments
— array$content
— string$parser
— object
Returns
- string