Are you want to hide all PHP related warnings and notices from your WordPress websites? If your answer is yes, then this tutorial is designed for you. In this post, I will explain “How to Hide PHP Warnings and Notices in WordPress”.
Use the below code in your wp-config.php and let me know if this code will not work for you.
Go to the root directory of your website and open the wp-config.php file. Now search
define('WP_DEBUG', false); and replace this piece of codes with below code. Below code will hide all PHP related warnings and notices from your WordPress website.
ini_set('error_reporting', E_ALL );
…below are the some WordPress tricks, others are reading.
5 Best Slider Plugins For WordPress Website
Usefull wordpress code snippets, hacks and tips
Extremely Useful Tricks For WordPress Website
Top 5 tips to speed up your wordpress website
Top 10 WooCommerce Tips and Tricks
Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials and yes also subscribe my blog to get all my future tutorial directly in your mailbox.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.