Remove filter mailpoet_segments_with_subscriber_count

[MAILPOET-3077]
This commit is contained in:
Rostislav Wolny
2020-09-14 14:00:52 +02:00
committed by Veljko V
parent dd4bf486a6
commit 331e40a137
4 changed files with 10 additions and 10 deletions

View File

@@ -29,7 +29,6 @@ class ImportExportFactory {
} else {
$segments = Segment::getSegmentsForExport();
$segments = $this->dynamicSegmentsLoader->add($segments);
$segments = $this->wp->applyFilters('mailpoet_segments_with_subscriber_count', $segments);
$segments = array_values(array_filter($segments, function($segment) {
return $segment['subscribers'] > 0;
}));