We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4db282 commit a233ae9Copy full SHA for a233ae9
1 file changed
src/Config_Command.php
@@ -34,6 +34,14 @@
34
* $ wp config get table_prefix
35
* wp_
36
*
37
+ * # Add a new constant to the wp-config.php file.
38
+ * $ wp config add WP_DEBUG true --raw
39
+ * Success: Added the constant 'WP_DEBUG' to the 'wp-config.php' file with the raw value 'true'.
40
+ *
41
+ * # Update or add a constant to the wp-config.php file.
42
+ * $ wp config update WP_DEBUG false --raw
43
+ * Success: Updated the constant 'WP_DEBUG' in the 'wp-config.php' file with the raw value 'false'.
44
45
* # Set the WP_DEBUG constant to true.
46
* $ wp config set WP_DEBUG true --raw
47
* Success: Updated the constant 'WP_DEBUG' in the 'wp-config.php' file with the raw value 'true'.
0 commit comments