开发者 | mattstone-plx |
---|---|
更新时间 | 2017年11月22日 20:30 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 4.9 |
版权: | MIT |
版权网址: | 版权信息 |
/wp-content/plugins/plx-multienv
directory, or install the plugin through the WordPress plugins screen directly.Yes, the plugin loads the relevant environment based on the current hostname so if you don\'t wish to use all the environments just leave those sections blank.
There are several ways you can do this:
wp-config.development.php
, wp-config.staging.php
, wp-config.production.php
). Once the environment files have been created the plugin is only used to edit the files and is not needed for the environments to function correctly./wp-content/plugins/plx-multienv/templates
, you will also need to edit the version number in /wp-content/plugins/plx-multienv/plx-multienv.php
to 999.9.9, this will prevent updates to the plugin that would otherwise overwrite your changes. Please note this method is not recommended as it disables future updates that may fix security vulnerabilities and provide compatibility with future versions of WordPress.