Developer Guide
The Developer Guide covers Staatic extension points for WordPress developers who need behavior beyond the settings screen.
Start with Hooks overview if you are not sure which hook to use.
In this section
- Hooks overview Use this overview to choose the right Staatic action or filter hook before changing publication, URL processing, deployment, or plugin settings behavior.
- Publication lifecycle hooks Customize Staatic publication execution with lifecycle actions, task filters, batch-size filters, timeout filters, and cleanup retention hooks.
- URL processing hooks Control how Staatic crawls, evaluates, discovers, replaces, and transforms URLs during static site generation.
- Extension hooks Extend Staatic with custom crawl URL providers, transformers, post-processors, deployment methods, and settings.
- Custom deployment methods Build a custom Staatic deployment method: register a deployment option, validate its configuration, and return a deploy strategy for the target.