Advertisement
GochiSiyan

debug log

Apr 14th, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 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 );
  10.  
  11. // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
  12. define( 'SCRIPT_DEBUG', true );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement