Some little transformer improvements #23
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue