wordpress / latest / hooks / get_date_sql.html

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

Filters the date query WHERE clause.

Parameters

$where string
WHERE clause of the date query.
$query WP_Date_Query
The WP_Date_Query instance.

Source

File: wp-includes/class-wp-date-query.php. View all references

return apply_filters( 'get_date_sql', $where, $this );

Used By

Used By Description

Changelog

Version Description
3.7.0 Introduced.

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