Created
May 1, 2015 10:57
-
-
Save jasperf/6d7364c3d8c50fc10e92 to your computer and use it in GitHub Desktop.
Hide PHP Notices in WP DEBUG #wordpress
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 | |
//Turns off notices | |
//https://wycks.wordpress.com/2013/12/05/how-to-remove-error-notices-using-wordpresss-wp_debug/ | |
error_reporting(E_ALL ^ E_NOTICE); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment