HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-4fw4s 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/jet-elements/templates/jet-weather/global/index.php
<?php
/**
 * Weather template
 */
$settings = $this->get_settings_for_display();
?>
<div class="jet-weather">
	<div class="jet-weather__container"><?php
		echo $this->get_weather_title(); // phpcs:ignore

		if ( isset( $settings['show_current_weather'] ) && 'true' === $settings['show_current_weather'] ) {
			include $this->_get_global_template( 'current' );
		}

		if ( isset( $settings['show_forecast_weather'] ) && 'true' === $settings['show_forecast_weather'] ) {
			include $this->_get_global_template( 'forecast' );
		}
	?></div>
</div>