diff --git a/includes/activitypub/transformer/class-event.php b/includes/activitypub/transformer/class-event.php index c7b508f..5527c64 100644 --- a/includes/activitypub/transformer/class-event.php +++ b/includes/activitypub/transformer/class-event.php @@ -78,6 +78,15 @@ class Event extends Post { } } + /** + * Returns the locale of the event. + * + * @return string + */ + public function get_in_language() { + return $this->get_locale(); + } + /** * Generic function that converts an WP-Event object to an ActivityPub-Event object. *