HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/inc/widgets/counter-box/config.php
<?php
/**
 * Thim_Builder Counter-Box config class
 *
 * @version     1.0.0
 * @author      ThimPress
 * @package     Thim_Builder/Classes
 * @category    Classes
 * @author      Thimpress, tuanta
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'Thim_Builder_Config_Counter_Box' ) ) {
	/**
	 * Class Thim_Builder_Config_Counter_Box
	 */
	class Thim_Builder_Config_Counter_Box extends Thim_Builder_Abstract_Config {

		/**
		 * Thim_Builder_Config_Counter_Box constructor.
		 */
		public function __construct() {
			// info
			self::$base = 'counter-box';
			self::$name = esc_html__( 'Thim: Counter Box', 'hotel-wp' );
			self::$desc = esc_html__( 'Add Counter Box', 'hotel-wp' );
			self::$icon = 'thim-widget-icon thim-widget-icon-timetable';

			parent::__construct();
		}

		/**
		 * @return array
		 */
		public function get_options() {

			// options
			return array(
				array(
					'type'       => 'param_group',
					'value'      => '',
					'param_name' => 'counter_list',
					// Note params is mapped inside param-group:
					'params'     => array(
						// Number
						array(
							'type'        => 'number',
							'admin_label' => true,
							'value'       => 10,
							'min'         => 0,
							'heading'     => esc_html__( 'Number', 'hotel-wp' ),
							'param_name'  => 'number',
							'description' => esc_html__( 'Enter number in box to count.', 'hotel-wp' ),
						),
						// Label
						array(
							'type'        => 'textfield',
							'heading'     => esc_html__( 'Label', 'hotel-wp' ),
							'admin_label' => true,
							'param_name'  => 'label',
							'value'       => '',
							'description' => esc_html__( 'Label counter box.', 'hotel-wp' ),
						),
						array(
							'type'        => 'colorpicker',
							'heading'     => esc_html__( 'Text Color', 'hotel-wp' ),
							'admin_label' => true,
							'param_name'  => 'text_color',
							'value'       => '#000',
						),
					)
				),
			);
		}

		public function get_template_name(){
			return 'default';
		}
	}
}