wp-config.php file to override default behavior. These constants let you tune OAuth token lifetimes, licensing check intervals, WP-CLI write permissions, and GDPR data masking — without touching plugin settings or the database. Add any constant above the /* That's all, stop editing! */ line in your wp-config.php file using the format:
Licensing
These constants control how often Maxi AI Core validates your license against the remote server and where it sends update checks.OAuth 2.1
These constants adjust the behavior of the OAuth 2.1 server that AI clients use to connect to your site. The defaults are designed for typical use — you only need to change them if you have specific security or compliance requirements.Kill switch
Access control
Rate limiting
Token lifetimes
Retention and cleanup
Data masking
WP-CLI write groups
Read-only WP-CLI commands are always permitted. Write commands are blocked by default and must be explicitly unlocked by defining the corresponding constant. Each constant enables a specific group of commands.All WP-CLI constants are
false by default. You only need to define the ones for the write groups you actually want to allow.
For a full explanation of WP-CLI access controls — including the DB query blocklist and hard-banned commands — see WP-CLI access.