get_date_sql
apply_filters( ‘get_date_sql’, string $where , WP_Date_Query $this )
过滤器::过滤日期查询WHERE子句。
Filter Hook: Filters the date query WHERE clause.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$where | (string) | 日期查询的WHERE子句。 |
$this | (WP_Date_Query) | WP_Date_查询实例。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.7.0 | wp-includes/class-wp-date-query.php:560 | 1 | 0 |
get_date_sql 为WP2原创文章,链接:https://www.wp2.cn/hook/get_date_sql/