public function getMetaById($metaId, $locale = null) { $result = craft()->elements->getElementById($metaId, 'Seomatic_Meta', $locale); return $result; }