<?php
/**
 * Tour block render template.
 *
 * @package Vist360
 *
 * @var array $attributes Block attributes.
 */

defined( 'ABSPATH' ) || exit;

echo do_shortcode(
	sprintf(
		'[vist360_tour id="%d" height="%d"]',
		(int) ( $attributes['tourId'] ?? 0 ),
		(int) ( $attributes['height'] ?? 0 )
	)
);
