- Updates post processing filter naming convention

- Allows returning of text or html rendered body from the renderer
This commit is contained in:
Vlad
2016-12-11 11:52:43 -05:00
parent 709f45941a
commit b4da3ecfb3
2 changed files with 9 additions and 5 deletions

View File

@ -21,7 +21,7 @@ class OpenTracking {
}
static function addTrackingImage() {
add_filter(Renderer::POST_PROCESS_FILTER, function ($template) {
add_filter(Renderer::FILTER_POST_PROCESS, function ($template) {
return OpenTracking::process($template);
});
return true;