kirbytag($attr)

Makes it possible to use any defined Kirbytag as standalone function

  • $attr (array)
    Arguments for the Kirbytag
  • return (string)
echo kirbytag(array(
  'link'  => 'blog/my-article',
  'text'  => 'Go to my blog article'
));

// will manually do the same as
// (link: blog/my-article text: Go to my blog article)
// in Kirbytext