protected function _toHtml() { if ($this->helper('wordpress')->isPluginEnabled('twitter-widget-pro')) { return parent::_toHtml(); } return ''; }
/** * Convert {{block tags to HTML * * @return string */ protected function _toHtml() { if ($html = parent::_toHtml()) { return Mage::helper('cms')->getBlockTemplateProcessor()->filter($html); } return ''; }