Created
March 8, 2018 01:48
-
-
Save ajmorris/8cdd803eb59a4c28667173e83cde4b1e to your computer and use it in GitHub Desktop.
Hide PHP Warnings and Notices in WP
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
| <?php | |
| // Add these to your wp-config.php file. | |
| ini_set('display_errors','Off'); | |
| ini_set('error_reporting', E_ALL ); | |
| define('WP_DEBUG', false); | |
| define('WP_DEBUG_DISPLAY', false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment