src/Charcoal/Admin/AdminTemplate.php
public function visitSiteLabel()
    {
        $label = $this->adminConfig('main_menu.visit_site');
        if ($label === false) {
            return false;
        }

        if (empty($label) || $label === true) {
            $label = $this->translator()->translate('Visit Site');
        } else {
            $label = $this->translator()->translate($label);
        }

        return $label;
    }
public function visitSiteLabel()
    {
        $label = $this->adminConfig('main_menu.visit_site');
        if ($label === false) {
            return false;
        }

        if (empty($label) || $label === true) {
            $label = $this->translator()->translate('Visit Site');
        } else {
            $label = $this->translator()->translate($label);
        }

        return $label;
    }
public function visitSiteLabel ( ) { $ label = $ this -> adminConfig ( 'main_menu.visit_site' ) ; if ( $ label === false ) { return false ; } if ( empty ( $ label ) || $ label === true ) { $ label = $ this -> translator ( ) -> translate ( 'Visit Site' ) ; } else { $ label = $ this -> translator ( ) -> translate ( $ label ) ; } return $ label ; }
Get the "Visit website" label.

@return string|boolean The button's label,
TRUE to use the default label,
or FALSE to disable the link.
Get the Visit website label .