Confetti Bits

CB_Core_Date_Query extends WP_Date_Query
in package

Table of Contents

Properties

$column  : string
The column to query against. Can be changed via the query arguments.

Methods

__construct()  : mixed
Constructor.
__destruct()  : mixed
Destructor.
register_date_column()  : array<string|int, mixed>
Registers our date column with WP Date Query to pass validation.

Properties

Methods

__construct()

Constructor.

public __construct(array<string|int, mixed> $date_query[, string $column = '' ]) : mixed
Parameters
$date_query : array<string|int, mixed>

Date query arguments.

$column : string = ''

THe DB column to query against.

Tags
see
WP_Date_Query::__construct()

register_date_column()

Registers our date column with WP Date Query to pass validation.

public register_date_column([array<string|int, mixed> $retval = array() ]) : array<string|int, mixed>
Parameters
$retval : array<string|int, mixed> = array()

Current DB columns.

Return values
array<string|int, mixed>

        
On this page

Search results