public function renderMainEntityOfPage($metaVars, $locale, $isPreview = false) { $htmlText = ""; if (isset($metaVars['seomaticMainEntityOfPage'])) { $this->sanitizeMetaVars($metaVars); $htmlText = $this->renderJSONLD($metaVars['seomaticMainEntityOfPage'], $isPreview); } return $htmlText; }