I'm creating a template for a widget and would like to echo the widget title in my PHP code. What is the proper way of doing that?
The following does not work:
<?php echo $this->getTitle() ?>
Note: this is part of a custom PHTML file in my theme.
Best Answer
Try this it's working...