Hooks::action_include_location_form_field( string $file, array $name, TribeEventsViewsV2Template $template )

Fires to include the location form field after the keyword form field of the events bar.


Parameters

$file

(string) (Required) Complete path to include the PHP File.

$name

(array) (Required) Template name.

$template

(TribeEventsViewsV2Template) (Required) Current instance of the Tribe__Template.


Top ↑

Source

File: src/Tribe/Views/V2/Hooks.php

	public function action_include_location_form_field( $file, $name, $template ) {
		$this->container->make( Location_Search_Field::class )->render( $template );
	}

Top ↑

Changelog

Changelog
Version Description
4.7.5 Introduced.