BP_Date_Query::__construct( array $date_query, string $column = '' )
Constructor.
Description
See also
Parameters
- $date_query
-
(Required) Date query arguments.
- $column
-
(Optional) THe DB column to query against.
Default value: ''
Source
File: bp-core/classes/class-bp-date-query.php
public function __construct( $date_query, $column = '' ) { if ( ! empty( $column ) ) { $this->column = $column; add_filter( 'date_query_valid_columns', array( $this, 'register_date_column' ) ); } parent::__construct( $date_query, $column ); }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.