url_title()

public function url_title(array $data): string

The url_title() method is supported by a dedicated helper function. For guidance on how to use it, click here.