Each of these is defined in wp-config.php and takes effect immediately, without database access — which is the point. When the database is what you cannot reach, a setting in the database is no help.
define( 'ITXUO_DISABLE_LOGIN_SECURITY', true );
The full list
| Constant | Switches off |
|---|---|
ITXUO_DISABLE_LOGIN_SECURITY | IP rules, country blocking, brute-force lockouts, login hours, bot defence and adaptive step-up |
ITXUO_DISABLE_2FA | Two-factor enrolment and enforcement |
ITXUO_DISABLE_SESSION_POLICY | Session lifetime, idle timeout and concurrency caps |
ITXUO_DISABLE_SUDO | Sensitive-action re-authentication |
ITXUO_DISABLE_ENUMERATION | User-enumeration hardening |
ITXUO_DISABLE_XMLRPC_CONTROL | XML-RPC method control |
ITXUO_DISABLE_APP_PASSWORD_POLICY | Application-password governance |
ITXUO_DISABLE_HEADERS | HTTP security headers |
ITXUO_DISABLE_PROXY_RESOLUTION | Trusted-proxy client IP resolution |
ITXUO_DISABLE_PRIVILEGE_WATCH | Privilege-escalation detection |
ITXUO_DISABLE_DEFAULT_ALERTS | Seeding of the default alert rules |
Three more exist for specific subsystems: ITXUO_DISABLE_CONTAINMENT removes the containment endpoints entirely, ITXUO_DISABLE_ALERT_QUEUE forces immediate alert sending, and ITXUO_DISABLE_LOG_STREAM stops the SIEM feed. ITXUO_DISABLE_LOG_CHAIN, ITXUO_DISABLE_RESET_GUARD, ITXUO_DISABLE_INLINE_CHALLENGE and ITXUO_DISABLE_EXPERIMENTAL cover the remainder.
Two live in the free plugin, one per module: ITXUO_DISABLE_EMAIL_LOG stops the email log from booting — nothing captures, nothing writes, existing rows stay until retention removes them — and ITXUO_DISABLE_ROLES does the same for the role editor, with roles already published keeping whatever was published, because the editor writes through WordPress's own role store rather than anything of its own.
They are blunt on purpose
ITXUO_DISABLE_LOGIN_SECURITY turns off six things to fix any one of them, and it stays off until somebody remembers to edit wp-config.php again.
That is the trade a kill switch makes: it has to work when nothing else does, so it cannot be clever, and it cannot depend on the layer it is switching off.
Prefer the WP-CLI commands whenever you can reach a shell. They clear one subject and leave everything else protecting the site.
doctor reports them, and reports the mismatch
wp itxuo doctor prints which switches are defined — and, importantly, tells you when a switch contradicts your configuration:
*2FA is marked required for administrator, but ITXUO_DISABLE_2FA means no second factor is asked for.*
*The site has an IP allowlist and country blocking configured, but ITXUO_DISABLE_LOGIN_SECURITY means none of it is applied.*
*Proxy mode "cloudflare" is configured but ITXUO_DISABLE_PROXY_RESOLUTION switches it off, so IP rules and the activity log see your CDN's address, not the visitor's.*
That last one is the quiet failure: the site looks configured, the log looks populated, and every address in it is your CDN.
The switch list is kept in the recovery command itself rather than discovered from loaded modules, so doctor can report a switch even when the module that honours it failed to load — which is exactly the case an operator needs told about.
Remove them afterwards
A kill switch left in place is a security feature you are paying for and not receiving. It is silent, nothing expires it, and nothing will remind you.
Make wp itxuo doctor part of whatever you check after an incident.
The two rails are not switchable
Neither of these has a constant, in any build:
- You cannot disable your own account
- You cannot disable the last remaining administrator
Both are enforced on the server, for the interface, for bulk actions and for REST.
And the last resort
Deactivating the plugin restores ordinary WordPress authentication immediately and deletes nothing. Renaming its directory does the same when you cannot reach the admin.