I have an older plugin installed that is firing all these PHP Deprecated and PHP Notices in my debug.log every time a page loads. Is it possible to mute PHP Deprecated and PHP Notices but ONLY for files in my plugins directory? I value a clean debug.log as it helps with making sure my code is error-free during development, but this kind of stuff makes it all messy.

More Details: I don't want to turn off all PHP notices because I like to have those to make sure my own code isn't creating any notices.

This plugin is something my client wants that is not worth the time to fix/replace/build from scratch, so I'd prefer to keep it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.