BP_Date_Query::register_date_column( array $retval = array() )

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

Parameters Parameters


(array) (Optional) Current DB columns.

Default value: array()

Top ↑

Return Return


Source Source

File: bp-core/classes/class-bp-date-query.php

	public function register_date_column( $retval = array() ) {
		$retval[] = $this->column;
		return $retval;

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.