HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/themes/omega/lib/classes/customize-control-char.php
<?php
/**
 * The checkbox customize control extends the WP_Customize_Control class.  This class allows 
 * developers to create checkbox settings within the WordPress theme customizer.
  */

/**
 * Checkbox customize control class.
 *
 * @since 0.9.11
 */
class Omega_Customize_Control_Char extends WP_Customize_Control {

	/**
	 * The type of customize control being rendered.
	 *
	 * @since 0.9.11
	 */
	public $type = 'char';
	public $extra = ''; // we add this for the extra description

	/**
	 * Displays the checkbox on the customize screen.
	 *
	 * @since 0.9.11
	 */
	public function render_content() { ?>
		<label>
            <p><?php echo esc_html( $this->label ); ?> <input type="text" class="small-text" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); ?> /> characters</p>
            <p class="description"><?php echo esc_html( $this->extra ); ?></p>
        </label>
	<?php }
}

?>