PluginProbe
Customify / 1.5.2
Customify v1.5.2
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 / features / customizer / controls / class-Pix_Customize_Textarea_Control.php

class-Pix_Customize_Textarea_Control.php in Customify 1.5.2, at features/customizer/controls/class-Pix_Customize_Textarea_Control.php

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