src/Core/ThemeManager.php
public function getUrl(string $path = '')
    {
        if (is_multisite() && defined(SUBDOMAIN_INSTALL) && SUBDOMAIN_INSTALL) {
            return sprintf(
                '%s/%s/themes/%s',
                get_home_url(),
                CONTENT_DIR,
                $this->getDirectory()
            ).($path ? '/'.$path : $path);
        }

        return get_template_directory_uri().($path ? '/'.$path : $path);
    }
public function getUrl(string $path = '')
    {
        if (is_multisite() && defined(SUBDOMAIN_INSTALL) && SUBDOMAIN_INSTALL) {
            return sprintf(
                '%s/%s/themes/%s',
                get_home_url(),
                CONTENT_DIR,
                $this->getDirectory()
            ).($path ? '/'.$path : $path);
        }

        return get_template_directory_uri().($path ? '/'.$path : $path);
    }
public function getUrl ( string $ path = '' ) { if ( is_multisite ( ) && defined ( SUBDOMAIN_INSTALL ) && SUBDOMAIN_INSTALL ) { return sprintf ( '%s/%s/themes/%s' , get_home_url ( ) , CONTENT_DIR , $ this -> getDirectory ( ) ) . ( $ path ? '/' . $ path : $ path ) ; } return get_template_directory_uri ( ) . ( $ path ? '/' . $ path : $ path ) ; }
Return the theme root URL.

@param string $path Path to append to the theme base URL.

@return string
Return the theme root URL .