WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Modify WP_DEBUG and other WordPress constants directly in the WordPress admin rather than manually editing them via wp-config.php!
Config Constants is a WordPress plugin that allows you to edit certain WordPress constants directly from the WordPress admin interface, rather than manually modifying the wp-config.php file. This is particularly useful for developers who need to change settings like WP_DEBUG or SCRIPT_DEBUG frequently without the hassle of file editing.
The plugin currently supports a range of constants, including WP_DEBUG, WP_DEBUG_LOG, and others. It also features two-way editing, meaning changes made in the plugin settings will be reflected in wp-config.php and vice versa. However, it is still in beta and not recommended for use on production sites without backups.
Best for: This plugin is suited for developers who frequently modify WordPress constants during development.
What it does well
Where it falls short
Config Constants provides a convenient way to manage WordPress constants, but its beta status suggests caution for production use.
David Gwyer's own description of Config Constants, lightly tidied.
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:
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.
Other plugins for developer tooling.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...
Add PHP code to your pages and posts easily using shortcodes.
An easy, clean, and simple way to enhance your site with code snippets.