Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Turn Off PHP Errors in WordPress
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
You can’t perform that action at this time.