HEX
Server: Apache
System: Linux 103-174-50-80.cprapid.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: lennoxfa (1022)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/lennoxfa/public_html/wp-content/plugins/addons-for-elementor/includes/controls/checkbox.php
<?php

namespace LivemeshAddons\Controls;

use Elementor\Control_Base;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

/**
 * A single Checkbox control
 *
 * @param string $default     Whether to initial it as checked. 'on' for checked, and '' (empty string) for unchecked
 *                            Default ''
 *
 * @since 1.0.0
 */
class LAE_Control_Checkbox extends Control_Base {

    public function get_type() {
        return 'lae-checkbox';
    }

    public function content_template() {
        ?>
        <label class="elementor-control-title">
            <input type="checkbox" data-setting="{{ data.name }}" />
            <span>{{{ data.label }}}</span>
        </label>
        <# if ( data.description ) { #>
            <div class="elementor-control-field-description">{{{ data.description }}}</div>
            <# } #>
        <?php
    }
}