Tribe__Context::dangerously_repopulate_locations()

Just dont.

Contents

.. Unless you very specifically know what you are doing DO NOT USE THIS METHOD!

Please keep in mind this will set force the context to repopulate all locations for the whole request, expensive and very dangerous overall since it could affect all this things we hold dear in the request.

With great power comes great responsibility: think a lot before using this.


Source

File: src/Tribe/Context.php

	public function dangerously_repopulate_locations() {
		static::$did_populate_locations = false;
		$this->populate_locations();
	}

Top ↑

Changelog

Changelog
Version Description
4.13.0 Introduced.