Plugin info

Total downloads: 3,239
Active installs: 30
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 2 language(s)
Contributors: 2
Last updated: 5/28/2021 (1678 days ago)
Added to WordPress: 5/26/2021 (4 years old)
Minimum WordPress version: 5.2
Tested up to WordPress version: 5.7.14
Minimum PHP version: 5.6

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1678 days ago

20/100

Is dotenv abandoned?

Possibly abandoned (last update 1678 days ago).

Compatibility

Requires WordPress: 5.2
Tested up to: 5.7.14
Requires PHP: 5.6

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Brozzme DB Prefix & Tools Addons
Rating 4.7/5 (54 reviews)Active installs 10,000
Debug Log – Manager Tool
Rating 4.8/5 (19 reviews)Active installs 3,000
Config Constants
Rating 5.0/5 (1 reviews)Active installs 100
Configurator
Rating 0.0/5 (0 reviews)Active installs 60
Theme Configurator
Rating 0.0/5 (0 reviews)Active installs 10
WP Viewer Log
Rating 0.0/5 (0 reviews)Active installs 10

Description

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.

Installation

  • 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_

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available