/** * Sets up the widgets name etc */ public function __construct() { $this->renderer = WpPostEmailNotificationPlugin::getInstance()->renderer(); $widget_ops = array('classname' => 'wp_post_email_notification', 'description' => 'Allow people to subscribe to new post notifications.'); parent::__construct('SubscriptionWidget', 'Subscription Widget', $widget_ops); }