Created
October 8, 2021 04:54
-
-
Save oddjar/5476e8ef81c83b4a4111983012fa4296 to your computer and use it in GitHub Desktop.
Hide error messages on your WordPress site
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
define('WP_DEBUG', false); | |
define('WP_DEBUG_LOG', false); | |
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
Drop this code in your wp-config.php file.