WordPress error handling - markhowellsmead/helpers GitHub Wiki
Hiding errors and warnings
Some shared hosts force PHP error messages and warnings, so if define('WP_DEBUG', false);
doesn't work, use the following in wp-config.php instead
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);