Skip to content

Developer Guide ​

Intercessor is structured as a modular WordPress plugin with dedicated layers for administration, blocks, HTTP/REST handling, database access, reports, tools, and utilities.

Main areas ​

text
src/
├── Admin/
├── Block/
├── Database/
├── Http/
├── Reports/
├── Tools/
└── Util/

The plugin also separates templates from PHP controllers and ships compiled Gutenberg assets in assets/js/blocks/.

Extension philosophy ​

When extending Intercessor:

  1. Prefer documented WordPress hooks and Intercessor filters.
  2. Use existing query classes for database operations.
  3. Reuse the submission pipeline for new submission transports.
  4. Respect Intercessor capabilities before exposing sensitive data.
  5. Keep private requests private at every presentation layer.

The plugin's REST API and report-view registry are examples of extension points built into the architecture.

Intercessor — Prayer Request Management for WordPress