How to Hide PHP Warnings in WP

How to Hide PHP Warnings in WP

Most of the time, PHP Warnings are nothing to worry. It is mostly happens on shared hosting sites.

Sometimes using the code below that can be found in your wp-config.php isn’t working, you can still see warnings on your WordPress site.

The Solution is we will change the above code into this code. Copy and paste in your wp-config.php.

It will now hide all Warnings and Notices in your? WordPress site.

I hope someone can make this useful.