diff --git a/lib/Form/DisplayFormInWPContent.php b/lib/Form/DisplayFormInWPContent.php index 8861f966c6..c1f8d46dac 100644 --- a/lib/Form/DisplayFormInWPContent.php +++ b/lib/Form/DisplayFormInWPContent.php @@ -193,7 +193,7 @@ class DisplayFormInWPContent { return false; } - if ($this->wp->isSingular(self::SUPPORTED_POST_TYPES)) { + if ($this->wp->isSingular($this->wp->applyFilters('mailpoet_display_form_supported_post_types', self::SUPPORTED_POST_TYPES))) { if ($this->shouldDisplayFormOnPost($setup, 'posts')) return true; if ($this->shouldDisplayFormOnCategory($setup)) return true; if ($this->shouldDisplayFormOnTag($setup)) return true;