Tribe__Tickets_Plus__Template::attr( mixed $index, mixed $default = null )

Return a specific attribute.


Parameters #

$index

(mixed) (Required) The index.

$default

(mixed) (Optional) The default.

Default value: null


Top ↑

Return #

(mixed)


Top ↑

Source #

File: src/Tribe/Template.php

	public function attr( $index, $default = null ) {
		$attribute = $this->get( array_merge( [ 'attributes' ], (array) $index ), $default );

		return $attribute;
	}