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; use MailPoet\WP\Functions as WPFunctions; class BlockWrapperRenderer { /** @var WPFunctions */ private $wp; public function __construct( WPFunctions $wp ) { $this->wp = $wp; } public function render(array $block, string $blockContent): string { $classes = isset($block['params']['class_name']) ? " " . $block['params']['class_name'] : ''; return '<div class="mailpoet_paragraph' . $this->wp->escAttr($classes) . '">' . $blockContent . '</div>'; } }
[-] 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