Some little transformer improvements #23

Closed
linos wants to merge 4 commits from transformer_improvements into main
Showing only changes of commit 0a6eb71084 - Show all commits

View file

@ -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.
*