src/Actions/BetterButtonAction.php
public function getButtonHTML()
    {
        return sprintf(
            '<a class="%s" href="%s" %s>%s</a>',
            $this->getButtonClasses(),
            $this->getButtonLink(),
            // Prevent outputting the 'class' attribute twice by excluding it from other attributes
            $this->getAttributesHTML('class'),
            $this->getButtonText()
        );
    }
public function getButtonHTML()
    {
        return sprintf(
            '<a class="%s" href="%s" %s>%s</a>',
            $this->getButtonClasses(),
            $this->getButtonLink(),
            // Prevent outputting the 'class' attribute twice by excluding it from other attributes
            $this->getAttributesHTML('class'),
            $this->getButtonText()
        );
    }
Gets the HTML representing the button
@return string