BP_Date_Query::register_date_column( array $retval = array() )
Registers our date column with WP Date Query to pass validation.
Description
Parameters
- $retval
-
(array) (Optional) Current DB columns.
Default value: array()
Return
(array)
Source
File: bp-core/classes/class-bp-date-query.php
public function register_date_column( $retval = array() ) { $retval[] = $this->column; return $retval; }
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.