WordPress at a glance
filter is not described

get_date_sql filter-hook . WP 3.7.0

Filters the date query WHERE clause.

Usage

add_filter( 'get_date_sql', 'filter_function_name_9907', 10, 2 );
function filter_function_name_9907( $where, $this ){
	// filter...

	return $where;
}
$where(string)
WHERE clause of the date query.
$this(WP_Date_Query)
The WP_Date_Query instance.

Where the hook is called

WP_Date_Query::get_sql()
wp-includes/date.php 559
return apply_filters( 'get_date_sql', $where, $this );

Where the hook is used (in WP core)

Does not used.