How to get all queries’s results after they have executed?
Extending the wpdb class We can create the db.php file under wp-content/ directory to override the wpdb class to our needs. I checked this site for such examples and found one by @MarkKaplun here. Here’s an example how one can get access to the last result, after each query has run: <?php /** * db.php … Read more