HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/plugins/wp-google-maps/includes/class.theme-panel.php
<?php

namespace WPGMZA;

class ThemePanel extends DOMDocument
{
	public function __construct($map=null)
	{
		global $wpgmza;
		
		DOMDocument::__construct();
		
		$this->loadPHPFile($wpgmza->internalEngine->getTemplate('theme-panel.html.php'));
		
		$base = plugin_dir_url(__DIR__);
		
		wp_enqueue_script('owl-carousel', 				$base . 'lib/owl.carousel.min.js', array('jquery'), $wpgmza->getBasicVersion());
		wp_enqueue_style('owl-carousel',				$base . 'lib/owl.carousel.css', array(), $wpgmza->getBasicVersion());
		wp_enqueue_style('owl-carousel_theme',			$base . 'lib/owl.theme.css', array(), $wpgmza->getBasicVersion());
		
		
		/* 
		 * Deprecating code mirror enqueue, we don't actually use this with V8
		 * 
		 * This will be reintroduced with V9, but we will need to use the included version from WordPress core 
		 * 
		 * Since 8.1.18, code removed, comment left as placeholder  
		*/
		
		if($map)
			$this->populate($map);
	}
}