Last active
March 10, 2023 12:34
-
-
Save addzycullen/72a6751d71e8563709788245a9418913 to your computer and use it in GitHub Desktop.
Enable the WordPress Debug log, and hide errors from displaying on site. To be placed in wp_config file below DB prefix
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
define( 'WP_DEBUG', true ); | |
if ( WP_DEBUG ) { | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'SCRIPT_DEBUG', true ); | |
define( 'SAVEQUERIES', true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment