Move manage subscription page filter to proper class

[MAILPOET-1635]
This commit is contained in:
Rostislav Wolny
2020-07-30 09:51:42 +02:00
committed by Veljko V
parent 72ca0ce32f
commit 7c979c9b56
4 changed files with 29 additions and 6 deletions

View File

@@ -100,10 +100,7 @@ class ManageSubscriptionFormRenderer {
}
}
return $this->wp->applyFilters(
'mailpoet_manage_subscription_page',
$this->templateRenderer->render('subscription/manage_subscription.html', $templateData)
);
return $this->templateRenderer->render('subscription/manage_subscription.html', $templateData);
}
private function getCustomFields(Subscriber $subscriber): array {