apply_filters( ‘get_date_sql’, string $where, WP_Date_Query $query )

In this article

Filters the date query WHERE clause.

Parameters

$wherestring
WHERE clause of the date query.
$queryWP_Date_Query
The WP_Date_Query instance.

Source

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

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.