PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Form
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Form; if (!defined('ABSPATH')) exit; class PreviewWidget extends \WP_Widget { /** @var string */ private $formHtml; public function __construct( $formHtml ) { $this->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; } }
[-] ApiDataSanitizer.php
[edit]
[-] PreviewWidget.php
[edit]
[-] index.php
[edit]
[-] BlocksRenderer.php
[edit]
[+]
..
[-] BlockStylesRenderer.php
[edit]
[+]
Listing
[-] AssetsController.php
[edit]
[-] FormMessageController.php
[edit]
[-] DisplayFormInWPContent.php
[edit]
[-] FormHtmlSanitizer.php
[edit]
[+]
Block
[-] FormSaveController.php
[edit]
[-] PreviewPage.php
[edit]
[-] Renderer.php
[edit]
[-] FormsRepository.php
[edit]
[-] Widget.php
[edit]
[-] BlockWrapperRenderer.php
[edit]
[+]
Util
[+]
Templates