wpseek.com
WordPress开发者和主题制作者的搜索引擎



query › WordPress过滤钩子

Since2.1.0
已弃用n/a
› apply_filters( 'query', $query )
参数:
  • () query Database query.
    Required: Yes
定义在:
文档:

Filters the database query.

Some queries are made before the plugins have been loaded, and thus cannot be filtered with this method.




源码

$query = apply_filters( 'query', $query );