public function generateHrefLangsTags()
    {
        $render = '';
        $urls = $this->currentRequestAllUrls();

        foreach ($urls as $language => $url) {
            $render .= '<link rel="alternate" href="' .$url. '" hreflang="' .$language. '"/>'."\n";
        }

        return $render;
    }
public function generateHrefLangsTags()
    {
        $render = '';
        $urls = $this->currentRequestAllUrls();

        foreach ($urls as $language => $url) {
            $render .= '<link rel="alternate" href="' .$url. '" hreflang="' .$language. '"/>'."\n";
        }

        return $render;
    }
public function generateHrefLangsTags ( ) { $ render = '' ; $ urls = $ this -> currentRequestAllUrls ( ) ; foreach ( $ urls as $ language => $ url ) { $ render .= '<link rel="alternate" href="' . $ url . '" hreflang="' . $ language . '"/>' . "\n" ; } return $ render ; }
Render hreflang links for SEO

@return string
Render hreflang links for SEO