WordPress has a configurable debugging system that allows us to display as well as log PHP errors, notices, and warnings. Besides that, sometimes we need to debug the code by writing custom PHP data or messages in a log file.
The post Debugging in WordPress – Writing Custom PHP Data or Log Messages appeared first on Fellow Tuts