WP_Date_Query::get_compare

SummerySummery

Determines and validates what comparison operator to use.

Syntax

WP_Date_Query::get_compare( array $query )

ParametersParameters

$query

(array) (Required) A date query or a date subquery.

ReturnReturn

(string) The comparison operator.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.7.0 Introduced.
Scroll to Top