diff --git a/Home.md b/Home.md index 18ad5fe..545c158 100644 --- a/Home.md +++ b/Home.md @@ -3,11 +3,11 @@ ### Overview The entry point of the plugin is the initialization of the singleton class `\Event_Bridge_For_ActivityPub\Setup` in the main plugin file `event-bridge-for-activitypub.php`. -The constructor of that class calls its `setup_hooks()` function. This function provides hooks that initialize all parts of the _Event Bridge For ActivityPub_ whenever needed. +The constructor of that class calls its [`setup_hooks()`](https://code.event-federation.eu/Event-Federation/wordpress-event-bridge-for-activitypub/src/commit/main/includes/class-setup.php#L207) function. This function provides hooks that initialize all parts of the _Event Bridge For ActivityPub_ whenever needed. ### File structure -Note that almost all files and folder within the `activitypub` folders are structured the same way as in the WordPress ActivityPub plugin. +Note that almost all files and folder within the `includes/activitypub` folders are structured the same way as in the [WordPress ActivityPub plugin](https://github.com/Automattic/wordpress-activitypub). ### Event Plugin Integrations @@ -61,8 +61,10 @@ final class GatherPress extends Event_Plugin_Integration implements Feature_Even ### Transformer -Transformers are the classes that convert an WordPress post type (e.g. one used for events) to _ActivityStreams_. -The Event Bridge for ActivityPub then takes care of applying the transformer. A tutorial of how to write a new Event transformer can be found [here](./transformer.md). +Transformers are the classes that convert a WordPress post type (e.g. one used for events) to _ActivityStreams_. +The _Event Bridge for ActivityPub_ then takes care of applying the transformer via [a filter provides by the ActivityPub plugin](https://github.com/Automattic/wordpress-activitypub/blob/main/includes/transformer/class-factory.php#L59). A tutorial of how to write a new Event transformer can be found [here](./transformer.md). + + ### Event Sources Feature – Transmogrifier