PluginProbe
Customify / 2.10.0
Customify v2.10.0
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
customify / includes / customizer-controls / class-Pix_Customize_Text_Control.php

class-Pix_Customize_Text_Control.php in Customify 2.10.0, at includes/customizer-controls/class-Pix_Customize_Text_Control.php

26 lines 774 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class Pix_Customize_Text_Control
4 */
5 class Pix_Customize_Text_Control extends Pix_Customize_Control {
6 public $type = 'text';
7 public $live = false;
8
9 /**
10 * Render the control's content.
11 */
12 public function render_content() { ?>
13 <label>
14 <?php if ( ! empty( $this->label ) ) : ?>
15 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
16 <?php endif; ?>
17 <input type="<?php echo esc_attr( $this->type ); ?>" <?php $this->input_attrs(); ?> value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); ?> />
18 <?php if ( ! empty( $this->description ) ) : ?>
19 <span class="description customize-control-description"><?php echo $this->description; ?></span>
20 <?php endif; ?>
21 </label>
22 <?php
23
24 }
25 }
26