---
title: "Which environments are detected?"
url: "https://docs.versioninfoplugin.com/faqs-which-environments-are-detected/"
---
# Which environments are detected?

The PRO plan's Environment Indicators feature automatically detects the following environment types:

*   **Production** - Live websites serving real traffic
*   **Staging** - Pre-production testing environments
*   **Development** - Active development environments
*   **Local** - Local development setups (e.g., LocalWP, MAMP, XAMPP)

Detection is performed by checking for environment constants from the following sources:

| Source | Constant Checked |
| --- | --- |
| WordPress Core | `WP_ENVIRONMENT_TYPE` |
| Bedrock / Trellis | `WP_ENV` |
| Kinsta | `KINSTA_ENV_TYPE` |
| WP Engine | `WPE_ENVIRONMENT`, `IS_WPE_SNAPSHOT` |
| Pantheon | `PANTHEON_ENVIRONMENT` |
| Flywheel | `FLYWHEEL_CONFIG_DIR` |

If no environment constant is detected, the site defaults to **Production** as a safety measure.

You can also manually set your environment by adding the following to your `wp-config.php`:

`define( 'WP_ENVIRONMENT_TYPE', 'staging' );`

Accepted values are: `local`, `development`, `staging`, and `production`.

[environment-indicators.md](/pro-features-environment-indicators/)
