diff --git a/mailpoet/lib/API/JSON/v1/AutomatedLatestContent.php b/mailpoet/lib/API/JSON/v1/AutomatedLatestContent.php index 462ef636d8..fd99baa8e2 100644 --- a/mailpoet/lib/API/JSON/v1/AutomatedLatestContent.php +++ b/mailpoet/lib/API/JSON/v1/AutomatedLatestContent.php @@ -92,7 +92,7 @@ class AutomatedLatestContent extends APIEndpoint { public function getTransformedPosts(array $data = []): SuccessResponse { $posts = $this->getPermittedPosts($this->ALC->getPosts(new BlockPostQuery([ 'args' => $data, - // If the request is for Posts block then we are fetching data for a static block + // If the request is for Posts or Products block then we are fetching data for a static block 'dynamic' => !(isset($data['type']) && in_array($data['type'], ["posts", "products"])), ] )));