I have a phtml template that has the following code in it:
<?php $links = $this->getLinks(); ?>
<ul class="social-links">
<?php foreach ($links as $name => $group): ?>
<?php if (!empty($group['handle'])): ?>
<?php
$class = "";
$anchorText = "";
switch ($group['css_class']) {
case "facebook":
$class = "facebook";
$anchorText = "Facebook";
break;
case "twitter":
$class = "twitter";
$anchorText = "Twitter";
break;
case "google-plus":
$class = "google";
$anchorText = "Google+";
break;
}
?>
<li>
<a href="<?php echo $this->escapeUrl($group['url'].$group['handle']) ?>" class="social-link <?php echo $class; ?>" target="_blank"><?php echo $anchorText; ?></a>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
I need to modify the links to remove google+ but I can't find where $this->getLinks() is coming from. Any pointers for where to look would be appreciated.