Documentation

DefinitionRegistrar.php

middag-io/wordpress — MIDDAG WordPress adapter.

Tags
author

Michael Meneses [email protected]

copyright

2026 MIDDAG (https://middag.io)

license

Apache-2.0

Table of Contents

Classes

DefinitionRegistrar
Registers declarative host definitions (post types, taxonomies, cron intervals) with WordPress. The WP counterpart of the moodle adapter's `Definition/` concern: describe the plugin's registrations as data, wire them in one call from the `init` hook.
On this page

Search results