How to Hide PHP Warnings and Notices in WordPress

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.

How to Hide PHP Warnings and Notices in WordPress

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.

…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

Conclusion

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.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , ,