dmwmartin

Debugging WordPress without front end display

Jul 17th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.25 KB | None | 0 0
  1. // Enable WP_DEBUG mode
  2. define('WP_DEBUG', true);
  3.  
  4. // Enable Debug logging to the /wp-content/debug.log file
  5. define('WP_DEBUG_LOG', true);
  6.  
  7. // Disable display of errors and warnings
  8. define('WP_DEBUG_DISPLAY', false);
  9. @ini_set('display_errors',0);
Add Comment
Please, Sign In to add comment