Created
December 2, 2021 08:55
-
-
Save Sirvijver/cf83c61fd4131e646966800b18984494 to your computer and use it in GitHub Desktop.
not show debug errors in frontend while debug is still active
This file contains hidden or 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
| define( 'WP_DEBUG_DISPLAY', false ); | |
| in your wp-config.php should hide the warning in the frontend while the debug.log still gets written (as long as define( | |
| 'WP_DEBUG_LOG', true ); is set). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment