DefinitionRegistrar.php
middag-io/wordpress — MIDDAG WordPress adapter.
Tags
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.