src/includes/classes/Core/Utils/Slug.php
public function toName(string $slug): string
    {
        $name = $slug; // Initialize.
        $name = preg_replace('/[^\p{L}\p{N}]+/u', ' ', $name);
        $name = $this->c::mbUcWords($name);
        $name = $this->c::mbTrim($name);

        return $name;
    }
public function toName(string $slug): string
    {
        $name = $slug; // Initialize.
        $name = preg_replace('/[^\p{L}\p{N}]+/u', ' ', $name);
        $name = $this->c::mbUcWords($name);
        $name = $this->c::mbTrim($name);

        return $name;
    }
Convert slug to name.

@since 150424 Initial release.

@param string $slug Slug.

@return string Name; based on slug.