Constants
Add these to wp-config.php, above the "That's all, stop editing!" line.
| Constant | Effect |
|---|---|
VXFRAMEWORK_CONFIG_LOCKED | true locks configuration to your code: overrides, resets, imports, file writes and mode changes are refused. See Lock production. |
VXFRAMEWORK_LICENSE_KEY | Activates the site automatically the first time an administrator opens wp-admin. See License. |
VXFRAMEWORK_LICENSE_ENV | production (default) or development, used with VXFRAMEWORK_LICENSE_KEY. |
The same behavior is also available as filters: vxframework/config/locked for the lock.
Technical details for LLMs
- Read-only constants defined by the plugin:
VXFRAMEWORK_VERSION,VXFRAMEWORK_PLUGIN_DIR,VXFRAMEWORK_PLUGIN_URL. Don't define these yourself. - Licensing service overrides (
VXFRAMEWORK_LICENSE_API,VXFRAMEWORK_LICENSE_CONNECT,VXFRAMEWORK_LICENSE_UPDATE_HOST,VXFRAMEWORK_LICENSE_PUBLIC_KEY) are for development environments only and are ignored unless overrides are allowed.