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.
Contents
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.
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 );
}
Changelog
| Version | Description |
|---|---|
| 4.7.5 | Introduced. |