Linux 软件免费装

Plugin Name

开发者 tomauger
更新时间 2012年8月18日 11:14
PHP版本: 3.0.0 及以上
WordPress版本: 3.5-alpha-21466
版权: GPLv2 or later
版权网址: 版权信息

标签

learning filters hooks WP_Query demonstration not-for-production

下载

详情介绍:

This plugin, once activated, spits out the information passed by each filter used in manipulating database queries, as a learning tool. The code itself is heavily documented and demonstrates best practices for working with those filters and actions to view / manipulate the query. It is very important to note that this plugin is not meant for a production environment as it will insert a lot of really ugly HTML throughout your page. You'll get the most use out of this plugin by looking at its code, and maybe previewing one or two pages on a sandbox, vanilla WordPress site.

安装:

  1. Download from wordpress.org/extend/plugins
  2. Upload valz_display_query_filters to your site's /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
Or just use the onboard plugin downloader like you normally would.

常见问题:

Why did you write this plugin?

The objective for writing this plugin was to provide a comprehensive, working demonstration of all the filters and action hooks that a query will pass through on its way to being displayed on your page. Note that this plugin does not attempt to only address the main_query, but will spit out its output for each and every query run on that page. That can be a lot of queries if you have a bunch of plugins and whatnot installed. You have been warned.

更新日志:

0.2 0.1