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

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# Show Environment In Editor

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

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

 * [Detalhes](https://pt.wordpress.org/plugins/show-environment-in-editor/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/show-environment-in-editor/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/show-environment-in-editor/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/show-environment-in-editor/#developers)

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

## Descrição

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/)

## Ecrãs

[⌊Production environment⌉⌊Production environment⌉[

Production environment

[⌊Staging environment⌉⌊Staging environment⌉[

Staging environment

[⌊Local environment⌉⌊Local environment⌉[

Local environment

[⌊Development environment⌉⌊Development environment⌉[

Development environment

## Instalação

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

## Perguntas frequentes

### 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)

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“Show Environment In Editor” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

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

“Show Environment In Editor” foi traduzido para 1 locale. Obrigado aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/show-environment-in-editor/contributors)
pelas suas contribuições.

[Traduza o “Show Environment In Editor” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/show-environment-in-editor)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/show-environment-in-editor/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/show-environment-in-editor/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/show-environment-in-editor/)
por [RSS](https://plugins.trac.wordpress.org/log/show-environment-in-editor/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

### 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

## Metadados

 *  Versão **1.0.9**
 *  Última actualização **Há 2 anos**
 *  Instalações activas **Menos de 10**
 *  Versão do WordPress ** 5.5 ou superior **
 *  Testado até **6.6.7**
 *  Versão do PHP ** 7.2 ou superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/show-environment-in-editor/) e [Portuguese (Portugal)](https://pt.wordpress.org/plugins/show-environment-in-editor/).
 *  [Traduza para o seu idioma](https://translate.wordpress.org/projects/wp-plugins/show-environment-in-editor)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/show-environment-in-editor/advanced/)

## Classificações

Ainda não foram submetidas avaliações.

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

[Ver todas as revisões](https://wordpress.org/support/plugin/show-environment-in-editor/reviews/)

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/show-environment-in-editor/)

## Doar

Gostaria de apoiar o desenvolvimento deste plugin?

 [ Fazer donativo para o plugin ](https://github.com/sponsors/joppuyo)