Title: Config Constants
Author: David Gwyer
Published: <strong>May 19, 2012</strong>
Last modified: March 20, 2017

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/config-constants.svg)

# Config Constants

 By [David Gwyer](https://profiles.wordpress.org/dgwyer/)

[Download](https://downloads.wordpress.org/plugin/config-constants.0.2.zip)

 * [Details](https://pcd.wordpress.org/plugins/config-constants/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/config-constants/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/config-constants/#installation)
 * [Development](https://pcd.wordpress.org/plugins/config-constants/#developers)

 [Support](https://wordpress.org/support/plugin/config-constants/)

## Description

NOTE: This Plugin is still in beta. It’s recommended that you don’t run this Plugin
on production sites yet, and don’t forget to backup your wp-config.php file.

WordPress constants such as WP_DEBUG can be defined in wp-config.php but have to
be edited manually every time you need to make a change. But no longer! You can 
now edit several common wp-config.php constants directly from within the WordPress
admin!

The current list of WordPress constants you can modify with Config Constants are:

 * WP_DEBUG
 * WP_DEBUG_LOG
 * WP_DEBUG_DISPLAY
 * SCRIPT_DEBUG
 * CONCATENATE_SCRIPTS
 * SAVEQUERIES
 * DISALLOW_FILE_MODS
 * DISALLOW_FILE_EDIT
 * WP_ALLOW_REPAIR

More constants will be supported in future versions.

If none of the above constants are defined in wp-config.php then they will be added
automatically. Constants already specified in wp-config.php will have their values
modified.

Also, a key feature of the Plugin is the support for two-way editing. This means
you can still edit wp-config.php constants manually if you wish and your changes
will be automatically synchronised with Plugin settings. Likewise, if you update
the value of a constant via the Plugin options page then wp-config.php is immediately
updated!

Please rate this Plugin if you find it useful. 🙂

Visit our [WordPress plugin site](http://www.wpgoplugins.com).

## Screenshots

 * [[
 * Where all the magic happens.

## Installation

Instructions for installing:

 1. In your WordPress admin go to Plugins -> Add New.
 2. Enter Config Constants in the text box and click Search Plugins.
 3. In the list of Plugins click Install Now next to the Config Constants Plugin.
 4. Once installed click to activate.
 5. Visit the Plugin options page via Settings -> Config Constants.
 6. On the Plugin options page some/all of the supported constants may be initially
    disabled as you can only modify existing constants defined in wp-config.php. To
    be able to edit a constant directly in the admin just add it to your wp-config.
    php file and it will get picked up automatically in the Plugin settings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Config Constants” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ David Gwyer ](https://profiles.wordpress.org/dgwyer/)

[Translate “Config Constants” into your language.](https://translate.wordpress.org/projects/wp-plugins/config-constants)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/config-constants/),
check out the [SVN repository](https://plugins.svn.wordpress.org/config-constants/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/config-constants/)
by [RSS](https://plugins.trac.wordpress.org/log/config-constants/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

_0.2_

 * Plugin completely overhauled to work with WordPress 4.8 and fix outdated code.

_0.1_

 * Initial release.

## Meta

 *  Version **0.2**
 *  Last updated **9 years ago**
 *  Active installations **100+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.8.28**
 *  Language
 * [English (US)](https://wordpress.org/plugins/config-constants/)
 * Tags
 * [config](https://pcd.wordpress.org/plugins/tags/config/)[constant](https://pcd.wordpress.org/plugins/tags/constant/)
   [debug](https://pcd.wordpress.org/plugins/tags/debug/)[mode](https://pcd.wordpress.org/plugins/tags/mode/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/config-constants/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/config-constants/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/config-constants/reviews/)

## Contributors

 *   [ David Gwyer ](https://profiles.wordpress.org/dgwyer/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/config-constants/)