wp debug false not working

Few days ago, one of my client asks for support that some warnings are shown on her site, although she has set wp_debug false. It may happens for others as well. That’s why i am making this post. The below code will hide every error message on your wordpress site.

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Comment below, if the code does not work or if you want to say some.

Leave a Reply

Your email address will not be published. Required fields are marked *