WP_Date_Query::is_first_order_clause

SummerySummery

Determine whether this is a first-order clause.

Syntax

WP_Date_Query::is_first_order_clause( array $query )

DescriptionDescription

Checks to see if the current clause has any time-related keys. If so, it’s first-order.

ParametersParameters

$query

(array) (Required) Query clause.

ReturnReturn

(bool) True if this is a first-order clause.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.1.0 Introduced.
Scroll to Top