Files
roi-theme/wp-content/plugins/ajax-search-pro/backend/settings/class/textarea-expandable.class.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

21 lines
889 B
PHP
Executable File

<?php
if (!class_exists("wd_TextareaExpandable")) {
/**
* Class wpdreamsTextarea
*
* A simple textarea field.
*
* @package WPDreams/OptionsFramework/Classes
* @category Class
* @author Ernest Marcinko <ernest.marcinko@wp-dreams.com>
* @link http://codecanyon.net/user/wpdreams/portfolio
* @copyright Copyright (c) 2019, Ernest Marcinko
*/
class wd_TextareaExpandable extends wpdreamsType {
public function getType() {
parent::getType();
echo "<label class='wd_textarea_expandable' for='wd_textareae_" . self::$_instancenumber . "'>" . $this->label . "</label>";
echo "<textarea rows='1' data-min-rows='2' class='wd_textarea_expandable' id='wd_textareae_" . self::$_instancenumber . "' name='" . $this->name . "'>" . stripslashes(esc_html($this->data)) . "</textarea>";
}
}
}