/** * Returns the label for the top link * This is also used for the breadcrumb * * @return false|string */ public function getTopLinkLabel() { if ($this->isEnabled()) { if ($this->_isCached('toplink_label')) { return $this->_cached('toplink_label'); } $transport = new Varien_Object(array('toplink_label' => Mage::getStoreConfig('wordpress/toplink/label'))); Mage::dispatchEvent('wordpress_get_toplink_label', array('transport' => $transport)); $this->_cache('toplink_label', $transport->getToplinkLabel()); return $transport->getToplinkLabel(); } return false; }