🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 15:50:43 | 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: PostListTransformer.php
Writable
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Newsletter\Editor; if (!defined('ABSPATH')) exit; class PostListTransformer { private $args; private $transformer; public function __construct( $args ) { $this->args = $args; $this->transformer = new PostTransformer($args); } public function transform($posts) { $results = []; $useDivider = filter_var($this->args['showDivider'], FILTER_VALIDATE_BOOLEAN); foreach ($posts as $index => $post) { if ($useDivider && $index > 0) { $results[] = $this->transformer->getDivider(); } $results = array_merge($results, $this->transformer->transform($post)); } return $results; } }
💾 Save Changes
❌ Cancel