Title: Show Environment In Editor
Author: joppuyo
Published: <strong>December 7, 2023</strong>
Last modified: July 17, 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/show-environment-in-editor/assets/icon-256x256.png?rev=3006927)

# Show Environment In Editor

 By [joppuyo](https://profiles.wordpress.org/joppuyo/)

[Download](https://downloads.wordpress.org/plugin/show-environment-in-editor.1.0.9.zip)

 * [Details](https://wordpress.org/plugins/show-environment-in-editor/#description)
 * [Reviews](https://wordpress.org/plugins/show-environment-in-editor/#reviews)
 *  [Installation](https://wordpress.org/plugins/show-environment-in-editor/#installation)
 * [Development](https://wordpress.org/plugins/show-environment-in-editor/#developers)

 [Support](https://wordpress.org/support/plugin/show-environment-in-editor/)

## Description

WordPress 5.5 [introduced](https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/)
the `WP_ENVIRONMENT_TYPE` constant, which allows you to define the current environment
where WordPress is running, either **production**, **staging**, **local**, or **
development**. You can use the [Display Environment Type](https://wordpress.org/plugins/display-environment-type/)
plugin to show this information in the admin bar.

However, in new WordPress versions, the admin bar is hidden in the post editor and
site editor. This plugin adds a new icon in the block editor toolbar to display 
the environment type. You can think of this as a complimentary plugin to [Display Environment Type](https://wordpress.org/plugins/display-environment-type/)
because it’s highly recommended that you use both plugins at the same time.

### Support the plugin

Maintaining a WordPress plugin is a lot of work. If you like the plugin, please 
consider rating it on [WordPress.org](https://wordpress.org/support/plugin/show-environment-in-editor/reviews/#new-post).
You can also support me on [GitHub sponsors](https://github.com/sponsors/joppuyo).
Thank you!

If you are interested, you can also check out my other WordPress plugins:

 * [Disable Media Pages](https://wordpress.org/plugins/disable-media-pages/)
 * [Disable Customizer](https://wordpress.org/plugins/customizer-disabler/)
 * [Disable Drop Cap](https://wordpress.org/plugins/disable-drop-cap/)
 * [ACF Image Aspect Ratio Crop](https://wordpress.org/plugins/acf-image-aspect-ratio-crop/)

## Screenshots

[⌊Production environment⌉⌊Production environment⌉[

Production environment

[⌊Staging environment⌉⌊Staging environment⌉[

Staging environment

[⌊Local environment⌉⌊Local environment⌉[

Local environment

[⌊Development environment⌉⌊Development environment⌉[

Development environment

## Installation

 1. Install the plugin from your WordPress dashboard
 2. Activate the **Show Environment In Editor** via the plugins admin page

## FAQ

### My environment shows “production”. How can I change it?

You can set the environment type in `wp-config.php`. Here are the values you can
use.
  

    ```
    // Production
    define('WP_ENVIRONMENT_TYPE', 'production');

    // Staging
    define('WP_ENVIRONMENT_TYPE', 'staging');

    // Local
    define('WP_ENVIRONMENT_TYPE', 'local');

    // Development
    define('WP_ENVIRONMENT_TYPE', 'development');
    ```

 

### Can I find this plugin on GitHub?

Yes, check out the [GitHub repository.](https://github.com/joppuyo/show-environment-in-editor)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Show Environment In Editor” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ joppuyo ](https://profiles.wordpress.org/joppuyo/)

“Show Environment In Editor” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/show-environment-in-editor/contributors)
for their contributions.

[Translate “Show Environment In Editor” into your language.](https://translate.wordpress.org/projects/wp-plugins/show-environment-in-editor)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/show-environment-in-editor/),
check out the [SVN repository](https://plugins.svn.wordpress.org/show-environment-in-editor/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/show-environment-in-editor/)
by [RSS](https://plugins.trac.wordpress.org/log/show-environment-in-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### 1.0.9 (2024-07-17)

 * Fix: Update tested up to version 6.6

### 1.0.8 (2024-04-04)

 * Fix: Update tested up to version 6.5

### 1.0.7

 * Update readme

### 1.0.6

 * Remove some more unnecessary files from the release zip

### 1.0.5

 * Remove unnecessary files

### 1.0.4

 * Fix deployment

### 1.0.3

 * Release in the plugin directory

### 1.0.2

 * Prevent direct access

### 1.0.1

 * Update text domain
 * Update tested up to version 6.4

### 1.0.0

 * Initial release

## Meta

 *  Version **1.0.9**
 *  Last updated **2 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **6.6.7**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/show-environment-in-editor/) and
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/show-environment-in-editor/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/show-environment-in-editor)
 *  [Advanced View](https://wordpress.org/plugins/show-environment-in-editor/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/show-environment-in-editor/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/show-environment-in-editor/reviews/)

## Contributors

 *   [ joppuyo ](https://profiles.wordpress.org/joppuyo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/show-environment-in-editor/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://github.com/sponsors/joppuyo)