Home / Disable / Disable WP Error Log and PHP Error
Duplicate Snippet

Embed Snippet on Your Site

Disable WP Error Log and PHP Error

Turning off PHP Errors in WordPress

Code Preview
php
<?php
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Comments

Add a Comment