Tribe__Repository::flush()

Flush current filters and query information.


Return

(self)


Top ↑

Source

File: src/Tribe/Repository.php

	public function flush() {
		$this->current_query    = null;
		$this->current_filters  = [];
		$this->current_filter   = null;
		$this->last_built_query = null;
		$this->last_built_hash  = '';

		return $this;
	}

Top ↑

Changelog

Changelog
Version Description
4.9.10 Introduced.