Created
October 13, 2022 12:48
-
-
Save woodwardtw/a7377130d7bcf86b88d66042a64d0d7e to your computer and use it in GitHub Desktop.
wp config shush and show
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* these are two alternative settings for wp-config.php don't use both! | |
**/ | |
/** | |
* super shush any errors or warnings | |
**/ | |
ini_set('display_errors','Off'); | |
ini_set('error_reporting', E_ALL ); | |
define('WP_DEBUG', false); | |
define('WP_DEBUG_DISPLAY', false); | |
/** | |
* show me everything and write everything | |
**/ | |
define('WP_DEBUG', true); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment