Description
This plugin logs all wordpress queries in the current page request as a html comment at the end of your output.
It only does so when the get variable lh_log_queries is set. That variable has three settings.
1. queries: this logs queries only
2. hooks: this logs hooks only
3. both: this logs both hooks and filters
Installation
- Upload the entire
lh-log-queries
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
FAQ
- Why did you write this plugin?
-
I wrote it as I wanted a simple, developer orientated plugin that would log bothqueries and filters without slowing my site down.
- Will it slow my site down?
-
Not at all, the code is only executed if the get variables are present.
- Can you show me an example url?
-
If installed on your site the both the hook and query log would be shown (as html comments), if you used this url: https://yoursite.com/?lh_log_queries=both
Contributors & Developers
“LH Log Queries and hooks” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “LH Log Queries and hooks” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.00 April 16, 2019
Initial release