Documentation

SettingsPageRegistrar.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

SettingsPageRegistrar
Declarative settings pages: describe tabs → sections → {@see Field}s once and this registrar wires everything through the WordPress Settings API — `register_setting()` (with the field's type-default sanitizer), `add_settings_section()` and `add_settings_field()` (rendered by {@see FieldRenderer}).
On this page

Search results