Skip to content

Instantly share code, notes, and snippets.

@jennimckinnon
Created June 16, 2017 22:01
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jennimckinnon/01c0c4b7c9a57580e5266aa679c79bd0 to your computer and use it in GitHub Desktop.
Save jennimckinnon/01c0c4b7c9a57580e5266aa679c79bd0 to your computer and use it in GitHub Desktop.
// Turn debugging on
define('WP_DEBUG', true);
// Tell WordPress to log everything to /wp-content/debug.log
define('WP_DEBUG_LOG', true);
// Turn off the display of error messages on your site
define('WP_DEBUG_DISPLAY', false);
// For good measure, you can also add the follow code, which will hide errors from being displayed on-screen
@ini_set('display_errors', 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment