Split sending pages to form editor

[MAILPOET-3120]
This commit is contained in:
Pavel Dohnal
2020-09-09 12:27:39 +02:00
committed by Veljko V
parent 63bf267180
commit bbde9cf36d
5 changed files with 12 additions and 5 deletions

View File

@ -154,7 +154,7 @@ class FormEditor {
'iframe' => Export::get('iframe', $form),
'shortcode' => Export::get('shortcode', $form),
],
'mailpoet_pages' => Pages::getAll(),
'mailpoet_pages' => Pages::getMailPoetPages(),
'segments' => Segment::getSegmentsWithSubscriberCount(),
'styles' => $this->formRenderer->getCustomStyles($form),
'date_types' => array_map(function ($label, $value) {