nguyen dung 39b8cb3612 init
2022-02-18 16:43:41 +07:00

29 lines
485 B
PHP

<?php
/**
* Override field methods
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2020, David Vongries
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/
/**
* Field overrides.
*/
class Kirki_Field_Textarea extends Kirki_Field_Kirki_Generic {
/**
* Sets the $choices
*
* @access protected
*/
protected function set_choices() {
$this->choices = array(
'element' => 'textarea',
'rows' => 5,
);
}
}