🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 19:12:04 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
thedasstores.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Newsletter
/
Editor
📍 /home/therahul/thedasstores.com/wp-content/plugins/mailpoet/lib/Newsletter/Editor
🔄 Refresh
✏️
Editing: Transformer.php
Writable
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Newsletter\Editor; if (!defined('ABSPATH')) exit; class Transformer { private $transformer; public function __construct( $args ) { $titleListOnly = $args['displayType'] === 'titleOnly' && $args['titleFormat'] === 'ul'; if ($titleListOnly) $transformer = new TitleListTransformer($args); else $transformer = new PostListTransformer($args); $this->transformer = $transformer; } public function transform($posts) { return $this->transformer->transform($posts); } }
💾 Save Changes
❌ Cancel