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

---

Buscar plugins

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

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes 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://ve.wordpress.org/plugins/dotenv/#description)
 * [Valoraciones](https://ve.wordpress.org/plugins/dotenv/#reviews)
 *  [Instalación](https://ve.wordpress.org/plugins/dotenv/#installation)
 * [Desarrollo](https://ve.wordpress.org/plugins/dotenv/#developers)

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

## Descripció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_`

## Reseñas

No hay reseñas para este plugin.

## Colaboradores y desarrolladores

«dotenv» es un software de código abierto. Las siguientes personas han colaborado
con este plugin.

Colaboradores

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

«dotenv» ha sido traducido a 1 idioma local. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/dotenv/contributors)
por sus contribuciones.

[Traduce «dotenv» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/dotenv)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/dotenv/) , echa un
vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/dotenv/) o suscríbete
al [registro de desarrollo](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

 *  Version **1.0.3**
 *  Last updated **hace 5 años**
 *  Active installations **20+**
 *  WordPress version ** 5.2 o superior **
 *  Tested up to **5.7.15**
 *  PHP version ** 5.6 o superior **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/dotenv/) y [Swedish](https://sv.wordpress.org/plugins/dotenv/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/dotenv)
 * Tags
 * [config](https://ve.wordpress.org/plugins/tags/config/)[configuration](https://ve.wordpress.org/plugins/tags/configuration/)
   [developer](https://ve.wordpress.org/plugins/tags/developer/)[environment](https://ve.wordpress.org/plugins/tags/environment/)
   [tools](https://ve.wordpress.org/plugins/tags/tools/)
 *  [Vista avanzada](https://ve.wordpress.org/plugins/dotenv/advanced/)

## Valoraciones

No reviews have been submitted yet.

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

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

## Colaboradores

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

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

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