WP_Date_Query::is_first_order_clause

Advertisement

Summery Summery

Determine whether this is a first-order clause.

Syntax Syntax

WP_Date_Query::is_first_order_clause( array $query )

Description Description

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

Parameters Parameters

$query

(Required) Query clause.

Return Return

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

Source Source

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

		return ! empty( $time_keys );
	}

	/**

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.

Advertisement

Leave a Reply