The idea seems correct, to apply a filter to an existing event. But what would be the correct event used by the-event-calendar?
As a quick-fix in the code, search for “$countries = Tribe__View_Helpers::constructCountries( $event->ID );” and add the following lines right below it:
$additional_countries = array( 'XK' => 'Kosovo' );
$countries = array_merge( $countries, $additional_countries);
-
This reply was modified 2 years, 4 months ago by Napsty.
-
This reply was modified 2 years, 4 months ago by Napsty.