PluginProbe
Customify / 2.5.1
Customify v2.5.1
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 2.5.1, at features/customizer/controls/class-Pix_Customize_Textarea_Control.php

31 lines 803 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
18 <label>
19 <?php if ( ! empty( $this->label ) ) : ?>
20 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
21 <?php endif; ?>
22 <textarea id="<?php echo $this->id; ?>" rows="5" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea>
23 <?php if ( ! empty( $this->description ) ) : ?>
24 <span class="description customize-control-description"><?php echo $this->description; ?></span>
25 <?php endif; ?>
26 </label>
27 <?php
28
29 }
30 }
31