diff --git a/src/variables/HubspotConnectorVariable.php b/src/variables/HubspotConnectorVariable.php index f5987b1..e87da92 100644 --- a/src/variables/HubspotConnectorVariable.php +++ b/src/variables/HubspotConnectorVariable.php @@ -40,6 +40,11 @@ public function blogTopics($params = []) return HubspotConnector::getInstance()->hubspot->getBlogTopics($params)->objects; } + public function blogTopic($topicId) + { + return HubspotConnector::getInstance()->hubspot->getBlogTopic($topicId); + } + public function totalBlogPosts($blogId, $params = []) { return HubspotConnector::getInstance()->hubspot->getBlogPosts($blogId, $params)->total;