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

---

Buscar plugins

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

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://ps.w.org/dotenv/assets/icon-256x256.jpg?rev=2538828)

# dotenv

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

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

 * [Detalles](https://gl.wordpress.org/plugins/dotenv/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/dotenv/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/dotenv/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/dotenv/#developers)

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

## Descrición

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.

## Instalación

 * 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_`

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“dotenv” é un software de código aberto. As seguintes persoas colaboraron con este
plugin.

Colaboradores

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

“dotenv” foi traducido a 1 idioma. Grazas [aos desenvolvedores](https://translate.wordpress.org/projects/wp-plugins/dotenv/contributors)
polas súas contribucións.

[Traduce “dotenv” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/dotenv)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/dotenv/), bota unha
ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/dotenv/), ou subscríbete
ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/dotenv/) por 
[RSS](https://plugins.trac.wordpress.org/log/dotenv/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versión **1.0.3**
 *  Última actualización **Fai 5 anos**
 *  Instalacións activas **20+**
 *  Versión de WordPress ** 5.2 ou superior **
 *  Probado ata **5.7.15**
 *  Versión de PHP ** 5.6 ou superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/dotenv/) e [Swedish](https://sv.wordpress.org/plugins/dotenv/).
 *  [Traduce ao teu idioma](https://translate.wordpress.org/projects/wp-plugins/dotenv)
 * Etiquetas
 * [config](https://gl.wordpress.org/plugins/tags/config/)[configuration](https://gl.wordpress.org/plugins/tags/configuration/)
   [developer](https://gl.wordpress.org/plugins/tags/developer/)[environment](https://gl.wordpress.org/plugins/tags/environment/)
   [tools](https://gl.wordpress.org/plugins/tags/tools/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/dotenv/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

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

[Ver todas as valoracións](https://wordpress.org/support/plugin/dotenv/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/dotenv/)