Page tree
Skip to end of metadata
Go to start of metadata

mixed permalink(string $route, int $id, string $title)

Creates a unique permalink. This is handy when you want to create an App that requires viewing an item, like a blog or video. This function follows our default permalink rules and structure.


URL path for your link.


Unique ID number.


Title of the item

echo permalink('/foo', 1, 'Hello World!');

// Will create a link (e.g. http://localhost/foo/1/hello-world/)
  • No labels