Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/fyntric.com/wp-content/themes/smart-mag/inc/core/customizer/controls/ |
Upload File : |
<?php /** * Checkbox Control modified to include the base. * * NOTE: Does NOT support devices. * * @see WP_Customize_Color_Control */ class Bunyad_Customizer_Controls_Checkbox extends WP_Customize_Control { use Bunyad_Customizer_Controls_BaseTrait; /** * Unique name is required here to prevent #tmpl-customize-control-checkbox-content. * But when initializing, set type to checkbox or set templateId manually. */ public $type = 'bunyad-checkbox'; public function to_json() { $this->base_json(); $this->json['templateId'] = 'customize-control-default-content'; } }