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



posts_where_request ›

Since2.5.0
已弃用n/a
apply_filters_ref_array( 'posts_where_request', array( $where, &$this )
参数: (2)
  • (string) $where The WHERE clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
定义在:
文档:

Filters the WHERE clause of the query.

For use by caching plugins.





源码

$where = apply_filters_ref_array( 'posts_where_request', array( $where, &$this ) );