What does `WP_DEBUG_LOG` do when set to true in wp-config.php?

WordPress Expert Easy

WordPress Expert — Easy

What does `WP_DEBUG_LOG` do when set to true in wp-config.php?

Key points

  • `WP_DEBUG_LOG` saves errors to debug.log
  • Helpful for debugging PHP issues
  • Errors are not displayed on the browser screen
  • Different from sending error notifications via email

Ready to go further?

Related questions