Title: dotenv
Author: Brad Parbs
Published: <strong>26 Maio, 2021</strong>
Last modified: 28 Maio, 2021

---

Procurar plugins

![](https://ps.w.org/dotenv/assets/banner-772x250.png?rev=2538828)

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/dotenv/assets/icon-256x256.jpg?rev=2538828)

# dotenv

 Por [Brad Parbs](https://profiles.wordpress.org/bradparbs/)

[Descarregar](https://downloads.wordpress.org/plugin/dotenv.1.0.3.zip)

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

 [Suporte](https://wordpress.org/support/plugin/dotenv/)

## Descrição

Any `WPENV_` prefixed variables in the `.env` will be used to override the WordPress
options. For example, if you’d like to set a specific environment to “Discourage
search engines from indexing this site”, you can add `WPENV_BLOG_PUBLIC=0` to your`.
env` file.

 * Any option in the `wp_options` table or retrieved by `get_option()` can be set
   this way.
 * You can define keys either as `WPENV_BLOGDESCRIPTION` or as `WPENV_blogdescription`,
   both will work.
 * If you’d like to define the location of your `.env` file, rather than the plugin
   looking for it, you can filter `dotenv_location` to be a directory path.
 * You can also change the `WPENV_` prefix by filtering `dotev_key_prefix` to be
   a different prefix.

## Instalação

 * Install the plugin.
    - Add a `.env` file either in the root of your site or one level above.
    - Add any WordPress options keys to filter with the prefix `WPENV_`

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

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

Contribuidores

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)

“dotenv” foi traduzido para 1 locale. Obrigado aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/dotenv/contributors)
pelas suas contribuições.

[Traduza o “dotenv” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/dotenv)

### Interessado no desenvolvimento?

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

## Metadados

 *  Versão **1.0.3**
 *  Última actualização **Há 5 anos**
 *  Instalações activas **20+**
 *  Versão do WordPress ** 5.2 ou superior **
 *  Testado até **5.7.15**
 *  Versão do PHP ** 5.6 ou superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/dotenv/) e [Swedish](https://sv.wordpress.org/plugins/dotenv/).
 *  [Traduza para o seu idioma](https://translate.wordpress.org/projects/wp-plugins/dotenv)
 * Etiquetas
 * [config](https://pt.wordpress.org/plugins/tags/config/)[configuration](https://pt.wordpress.org/plugins/tags/configuration/)
   [developer](https://pt.wordpress.org/plugins/tags/developer/)[environment](https://pt.wordpress.org/plugins/tags/environment/)
   [tools](https://pt.wordpress.org/plugins/tags/tools/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/dotenv/advanced/)

## Classificações

Ainda não foram submetidas avaliações.

[Your review](https://wordpress.org/support/plugin/dotenv/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dotenv/reviews/)

## Contribuidores

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/dotenv/)