Last active
January 30, 2017 00:36
-
-
Save lorenzocaum/848801a1173be464fbe7 to your computer and use it in GitHub Desktop.
Enable WordPress debugging with debug log on and debug display on
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
<?php | |
//* Do NOT include the opening php tag | |
//* Enable WordPress debugging with debug log and debug display | |
define('WP_DEBUG', true); | |
if (WP_DEBUG) { | |
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
Here is an example of how to enabled WP debugging with debug log through your wp-config.php file.