Last active
February 24, 2021 03:49
-
-
Save otakupahp/fc377ef7265ae6423f779e6a6b41a0bf to your computer and use it in GitHub Desktop.
Enable WP Silent Debug mode
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 | |
# Enable WP_DEBUG mode, logging to the /wp-content/debug.log file , without displaying on screen errors and warnings | |
define('WP_DEBUG', true); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
@ini_set( 'display_errors', 0 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment