HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/somonline.org/wp-content/themes/zeen/inc/classes/class-zeen-control-range.php
<?php
/**
 * Control Range
 *
 * @package Zeen
 * @since 1.0.0
 */
class Zeen_Control_Range extends WP_Customize_Control {


	/**
	 * Type.
	 *
	 * @access public
	 * @since 1.0.0
	 * @var string
	 */
	public $type = 'codetipi-range';

	/**
	 * Enqueue scripts/styles
	 *
	 * @access public
	 * @since 1.0.0
	 * @return void
	 */
	public function enqueue() {
		wp_enqueue_script(
			'zeen-controls',
			get_parent_theme_file_uri( '/assets/admin/js/controls.js' ),
			array(
				'customize-controls',
				'jquery',
				'customize-base',
				'react',
				'react-dom',
				'wp-element',
				'wp-components',
			),
			ZEEN_VERSION,
			true
		);
	}

	/**
	 * Refresh the parameters passed to the JavaScript via JSON.
	 *
	 * @since 3.4.0
	 * @uses WP_Customize_Control::to_json()
	 */
	public function to_json() {
		parent::to_json();
		$this->json['choices'] = $this->choices;
	}

	/**
	 * Empty JS template.
	 *
	 * @access public
	 * @since 1.0.0
	 * @return void
	 */
	public function content_template() {}
}