File "map.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/src/views/integrations/elementor/widgets/event-venue/map.php
File size: 844 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* View: Elementor Single Event Venue widget amp.
*
* You can override this template in your own theme by creating a file at
* [your-theme]/tribe/events/integrations/elementor/widgets/venue/event-venue/map.php
*
* @since 6.4.0
*
* @var bool $show Whether to show the venue map.
* @var string $venue_id The venue ID.
* @var array $settings The widget settings.
* @var int $event_id The event ID.
* @var Tribe\Events\Integrations\Elementor\Widgets\Event_Venue $widget The widget instance.
*/
if ( empty( $show_map ) ) {
return;
}
if ( empty( $venue ) ) {
return;
}
?>
<div <?php tribe_classes( $widget->get_map_base_class() ); ?>>
<?php
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, StellarWP.XSS.EscapeOutput.OutputNotEscaped -- cannot escape Google map HTML
echo $venue['map'];
?>
</div>