Linux 软件免费装
Banner图

LH Log Queries and hooks

开发者 shawfactor
更新时间 2022年8月9日 10:57
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 6.0
版权: GPLv2 or later

标签

log query developer developers queries

下载

详情介绍:

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 Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.

安装:

  1. Upload the entire lh-log-queries folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

常见问题:

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.

What is something does not work?

LH Log Queries and hooks, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones). If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc. If the problem persists pleasse leave a post in the support forum: https://wordpress.org/support/plugin/lh-first-comment-redirect/ . I look there regularly and resolve most queries.

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

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

更新日志:

1.00 April 16, 2019\ Initial release 1.02 June 02, 2019\ Variable check, no errors