File manager - Edit - /home/theblueo/questionnaire/wp-content/plugins/user-registration/includes/form/settings/class-ur-setting-text.php
Back
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * UR_Setting_Text Class * * @package UserRegistration/Form/Settings * @category Abstract Class * @author WPEverest */ class UR_Setting_Text extends UR_Field_Settings { public function __construct() { $this->field_id = 'text_advance_setting'; } public function output( $field_data = array() ) { $this->field_data = $field_data; $this->register_fields(); $field_html = $this->fields_html; return $field_html; } public function register_fields() { $fields = array( 'size' => array( 'label' => __( 'Size', 'user-registration' ), 'data-id' => $this->field_id . '_size', 'name' => $this->field_id . '[size]', 'class' => $this->default_class . ' ur-settings-size', 'type' => 'text', 'required' => false, 'default' => '20', 'placeholder' => __( 'Size', 'user-registration' ), ), 'default_value' => array( 'label' => __( 'Default Value', 'user-registration' ), 'data-id' => $this->field_id . '_default_value', 'name' => $this->field_id . '[default_value]', 'class' => $this->default_class . ' ur-settings-default-value', 'type' => 'text', 'required' => false, 'default' => '', 'placeholder' => __( 'Default Value', 'user-registration' ), ), 'custom_class' => array( 'label' => __( 'Custom Class', 'user-registration' ), 'id' => $this->field_id . '_custom_class', 'name' => $this->field_id . '[custom_class]', 'class' => $this->default_class . ' ur-settings-custom-class', 'type' => 'text', 'required' => false, 'default' => '', 'placeholder' => __( 'Custom Class', 'user-registration' ), ), ); $this->render_html( $fields ); } } return new UR_Setting_Text();
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings