Archive | May, 2018

How to collect log messages across multiple classes or functions in WordPress plugins or themes.

This is a¬†lightweight way that I like to use to collect log texts in my WordPress plugins across different classes and methods involved in a process.¬†The advantage of this is that it uses WordPress internal functionality, namely the Action API. To create log messages it uses the do_action function and to collect these messages it […]