100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps

Constants

Every wp-config.php constant the plugin reads, and the ones it defines itself.

Kill switches

Covered in full, with what each disables, on kill switches.

ITXUO_DISABLE_LOGIN_SECURITY · ITXUO_DISABLE_2FA · ITXUO_DISABLE_SESSION_POLICY · ITXUO_DISABLE_SUDO · ITXUO_DISABLE_ENUMERATION · ITXUO_DISABLE_XMLRPC_CONTROL · ITXUO_DISABLE_APP_PASSWORD_POLICY · ITXUO_DISABLE_HEADERS · ITXUO_DISABLE_PROXY_RESOLUTION · ITXUO_DISABLE_PRIVILEGE_WATCH · ITXUO_DISABLE_DEFAULT_ALERTS · ITXUO_DISABLE_CONTAINMENT · ITXUO_DISABLE_ALERT_QUEUE · ITXUO_DISABLE_LOG_STREAM · ITXUO_DISABLE_LOG_CHAIN · ITXUO_DISABLE_RESET_GUARD · ITXUO_DISABLE_INLINE_CHALLENGE · ITXUO_DISABLE_EXPERIMENTAL

Two in the free plugin: ITXUO_DISABLE_EMAIL_LOG (the email log does not boot) · ITXUO_DISABLE_ROLES (the role editor does not boot)

Configuration

ITXUO_TRUSTED_PROXIES

Trusted proxy ranges defined in wp-config.php rather than in the database.

define( 'ITXUO_TRUSTED_PROXIES', '10.0.0.0/8,172.16.0.0/12' );

Useful where infrastructure is managed as code and should not be editable from the admin. See Sites behind a proxy.

ITXUO_FS_ID and ITXUO_FS_PUBLIC_KEY

Licensing identifiers. Set by the build; you do not normally define these.

ITXUO_PREMIUM_DEV

Development flag for running the premium build unlicensed locally. Not for production.

Defined by the plugin

Read these; do not set them.

ConstantValue
ITXUO_VERSIONPlugin version
ITXUO_PATHPlugin directory path
ITXUO_URLPlugin directory URL
ITXUO_BASENAMEPlugin basename
ITXUO_PREMIUM_VERSIONPremium build version
ITXUO_PREMIUM_PATHPremium directory path
ITXUO_PREMIUM_BUILDWhether this is the premium build
if ( defined( 'ITXUO_PREMIUM_BUILD' ) && ITXUO_PREMIUM_BUILD ) {
	// Premium is installed. Not the same as: a module is enabled.
}

WordPress constants that matter here

AUTH_KEY and AUTH_SALT

The hash chain key is derived from wp_salt('auth'), which is built from these.

Rotating them changes the key. Rows written under the old key stop verifying under the new one — reported as *unverifiable*, not as tampered, because the chain stores a key fingerprint. But that range is unverifiable from then on. Worth knowing before you let a security plugin or a host migration rotate your salts.

The plugin also checks whether these genuinely came from wp-config.php rather than from WordPress's fallback, and reports the difference. A site running on generated salts has a weaker guarantee, and saying so is more useful than reporting both the same way.

DISABLE_WP_CRON

Retention purges, session sweeps, inactive sweeps, directory syncs and scheduled reports all run on WP-Cron.

With DISABLE_WP_CRON set and no system cron configured, none of them run. The log grows past its retention, inactive rules never fire, and reports never arrive — silently, because there is nothing to report a job that was never triggered.

If you set it, set up the system cron too.

Where to put them

In wp-config.php, above the /* That's all, stop editing! */ line. Below it, WordPress has already loaded and the constant arrives too late to matter.

Log in

Vote on ideas, submit your own and join the discussion.