Suppress PHP DEPRECATED and WARNING notices in WordPress (without touching wp-config.php)

If you have ever opened your WordPress error logs only to find them flooded with thousands of E_DEPRECATED and E_WARNING notices, most of them coming from plugins you don’t control, this post is for you. What you need is a must-use plugin that installs a custom error handler. It suppresses those noisy notices while allowing … Read more