Tribe__Events__Pro__Geo_Loc::is_geoloc_query()

Returns whether the user made a location search in the Tribe Bar

Contents


Return

(bool)


Top ↑

Source

File: src/Tribe/Geo_Loc.php

	public function is_geoloc_query() {
		return ( ! empty( $_REQUEST['tribe-bar-geoloc-lat'] ) && ! empty( $_REQUEST['tribe-bar-geoloc-lng'] ) );
	}