Tribe__Template::set_aliases( array $aliases = array() )

Sets the aliases the template should use.


Parameters

$aliases

(<span class="array">array) (Optional) A map of aliases that should be used to add lookup locations, in the format [ original => alias ];

Default value: array()


Top ↑

Return

(static) This instance, for method chaining.


Top ↑

Source

File: src/Tribe/Template.php

	public function set_aliases( array $aliases = [] ) {
		$this->aliases = $aliases;

		return $this;
	}

Top ↑

Changelog

Changelog
Version Description
4.12.10 Introduced.