'AE_On_Page_Form_Widget', 'description' => 'On Page AE Form', ); parent::__construct('AE_On_Page_Form_Widget', 'AE On Page Form', $widget_ops); } /** * Outputs the content of the widget * * @param array $args * @param array $instance */ public function widget($args, $instance) { echo do_shortcode('[ae-form]'); } /** * Outputs the options form on admin * * @param array $instance The widget options */ public function form($instance) { // outputs the options form on admin $title = !empty($instance['title']) ? $instance['title'] : esc_html__('Social Sign On Form', 'text_domain'); ?>