Developer Guide
Developer Guide
Section titled “Developer Guide”The Developer Guide is the technical reference for extending, embedding, and integrating Eventonomy. Every page is written for developers, so if you are configuring events from wp-admin, start with the Getting Started and Admin Settings sections instead.
Authoritative source files:
docs/ARCHITECTURE.md,docs/REST-API.md,docs/EXTENDING.md. This guide distills them and cross-references them. When anything here conflicts with those files, the source files win.
This guide has two tracks: Reference (comprehensive API surfaces) and How-to recipes (short, focused examples for common tasks). Start with Reference to understand the system, then use Recipes when you are ready to build.
Track 1: Reference
Section titled “Track 1: Reference”Deep documentation of every stable extension surface.
Understand the System
Section titled “Understand the System”Get a clear picture of how Eventonomy is built before you start extending it.
- Architecture - the seven layers, auto-discovery backbone, data model, and Free/Pro seam.
Extend
Section titled “Extend”Add behavior to the event lifecycle, query system, or REST responses.
- Hooks & Filters - every
evnm_*action and filter, with the arguments each one passes. - Extending (Free↔Pro contract) - how to bind contracts, implement interfaces, add a payment gateway, create a notification channel, and work with the Meta API.
Surface event content on any page, post, sidebar, or page-builder canvas.
- Blocks & Templates - the nine Free blocks, nine Pro blocks, shortcodes, the shared Interactivity store, and template overrides.
Integrate
Section titled “Integrate”Read and write event data from another application, cron job, or headless frontend.
- REST API Reference - the full
eventonomy/v1endpoint listing with methods, payloads, responses, and permission contracts. - Mobile API Contract - what a companion mobile app reads: the app bootstrap block, the viewer-relative event fields, the registration contract, Application Passwords, the ban gate on writes, and what the plugin does not own (CORS, transport, packaging).
- Calendar Sync Internals (Pro) - the
evnm_pro_feedstable, the feed repository and runner, the sync scheduler, the member and admin feed routes, and how to register your own import source. - Database Schema - all 17 tables (10 Free, 7 Pro), their columns, the index strategy behind them, and the migration rules.
- Capabilities & Permissions - the seven capabilities, what they map to, how ownership is resolved, and the REST permission-callback contract.
- Abilities API - the WordPress 7.0 ability registry, what Eventonomy exposes today (nothing yet), and how to register your own safely.
- The timezone rule - which zone a date renders in and why: event zone answers “when is this event?”, site zone answers “which group is this row in?”, and the abbreviation appears only when they differ. Use
evnm_event_card_dates().
Operations
Section titled “Operations”Drive and test Eventonomy from the command line.
- WP-CLI Commands - the full
wp eventonomycommand surface plus theqa-actionssmoke suite.
Track 2: How-to Recipes
Section titled “Track 2: How-to Recipes”Short, task-oriented recipes. Each recipe names the goal, the exact hook or contract, a minimal working snippet, and a “verify it worked” step.
- Recipes Index - overview and seam reference table.
- Recipe: Custom RSVP Field - add a field to the RSVP form and persist it.
- Recipe: Override a Template - replace a bundled PHP template from a theme or plugin.
- Recipe: Hook Into Checkout - run code on order creation, payment, and refund.
- Recipe: Add a Custom Block - register a block that inherits the shared Interactivity store.
- Recipe: Extend with a Provider - add a service to the container using auto-discovery.
- Recipe: Custom REST Endpoint - register a
my-addon/v1endpoint using contracts and the canonical envelope.

