- Implements post-processing filter during rendering

This commit is contained in:
Vlad
2016-04-19 20:58:08 -04:00
parent ed09c3e5d4
commit 15cf087d40
5 changed files with 97 additions and 2 deletions

View File

@@ -102,6 +102,10 @@ class Renderer {
$template->html(
str_replace('!important', '', $template->html())
);
return $DOM->__toString();
$template = apply_filters(
'mailpoet_rendering_post_process',
$DOM->__toString()
);
return $template;
}
}