apply_filters( 'get_date_sql', string $where, WP_Date_Query $this )

Filters the date query WHERE clause.

Parameters

$where

(string) WHERE clause of the date query.

$this

(WP_Date_Query) The WP_Date_Query instance.

Source

File: wp-includes/class-wp-date-query.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_date_sql