diff --git a/includes/activitypub/transformer/class-event.php b/includes/activitypub/transformer/class-event.php index 7793650..7b144a6 100644 --- a/includes/activitypub/transformer/class-event.php +++ b/includes/activitypub/transformer/class-event.php @@ -54,6 +54,16 @@ abstract class Event extends Post { return comments_open( $this->wp_object ); } + /** + * Set a hardcoded template for the content. + * + * This actually disabled templates for the content. + * Maybe this independent templates for events will be added later. + */ + protected function get_post_content_template(): string { + return '[ap_content]'; + } + /** * Returns the title of the event. *