| Setting | Key |
|---|---|
| Scope | headers.scope |
| X-Frame-Options | headers.frame_options |
| Referrer-Policy | headers.referrer_policy |
| Permissions-Policy | headers.permissions_policy |
| X-Content-Type-Options | headers.xcto |
| HSTS | headers.hsts.* |
| CSP (report-only) | headers.csp.* |
Everything ships off, and the screen says why
WordPress core already sends X-Frame-Options, Referrer-Policy and X-Content-Type-Options inside wp-admin.
So the honest default position for this module is "adds nothing until you ask it to", and the interface says so rather than letting the plugin take credit for core's work. A security plugin reporting a green tick for a header it did not send is how posture screens become worthless.
The value here is on the front end, where core sends nothing.
HSTS
Strict-Transport-Security tells browsers to refuse plain HTTP for your domain, for a stated duration.
HSTS is the one setting here that can take a site off the air, and it is not reversible from the plugin. Once a browser has seen the header, it will refuse HTTP for max_age seconds no matter what you do afterwards. If your certificate lapses or a subdomain has no HTTPS, visitors get a browser-level error page you cannot serve past. Enable it only when HTTPS is working everywhere, including every subdomain if you set include_subdomains. Start with a short max_age. Do not set preload until you are certain — that one is submitted to a browser-vendor list and removal takes months.
The module handles a "tombstone" state — headers.hsts.tombstone_until — for standing down an HSTS release safely, by continuing to send the header with a short max-age while it drains rather than stopping abruptly, which would leave browsers on the old long duration with nothing correcting it.
The ITXUO_DISABLE_HEADERS kill switch deliberately does not apply to an in-progress HSTS stand-down, for that reason.
Content Security Policy
headers.csp.mode — report-only.
That is intentional. A CSP tight enough to be useful breaks a WordPress site the first time a plugin inlines a script, and enforcing one you have not measured is how you serve a blank page. Report-only mode collects violations to headers.csp.report_uri so you can see what a policy *would* have blocked before it blocks it.
Scope
Headers can be applied to the front end, the admin, or both. Front-end-only is the common useful setting, since core already covers the admin.
The kill switch
define( 'ITXUO_DISABLE_HEADERS', true );
Stops emission while leaving the settings screen reachable — the point of a kill switch is to unbreak a site you can then repair from the admin.