Tribe__Context::get_locations()

Returns the read and write locations set on the context.


Return

(array) An array of read and write location in the shape of the Tribe__Context::$locations one, [ <location> => [ 'read' => <read_locations>, 'write' => <write_locations> ] ].


Top ↑

Source

File: src/Tribe/Context.php

	public function get_locations() {
		$this->populate_locations();

		return $this->use_default_locations
			? array_merge( self::$locations, $this->override_locations )
			: $this->override_locations;
	}

Top ↑

Changelog

Changelog
Version Description
4.9.5 Introduced.