Description
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.
Parameters
$route
URL path for your link.
$id
Unique ID number.
$title
Title of the item
Examples
echo permalink('/foo', 1, 'Hello World!'); // Will create a link (e.g. http://localhost/foo/1/hello-world/)