formHtml = $formHtml; parent::__construct( 'mailpoet_form_preview', 'Dummy form form preview', [] ); } /** * Output the widget itself. */ public function widget($args, $instance = null) { // We control the html // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPressDotOrg.sniffs.OutputEscaping.UnescapedOutputParameter echo $this->formHtml; } }