过滤查询的WHERE子句。
原型
apply_filters_ref_array( 'posts_where', string $where, WP_Query $this )
参数
$where
(string)
查询的WHERE子句。
$this
(WP_Query)
WP_Query实例(通过引用传递)。
源文件
路径:wp-includes/class-wp-query.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/posts_where/