PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.3.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.3.0
2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 1.8.1 All 42 releases
sellkit / includes / elementor / modules / optin / fields / text.php

text.php in SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster 2.3.0, at includes/elementor/modules/optin/fields/text.php

33 lines 745 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || die();
4
5 class Sellkit_Elementor_Optin_Field_Text extends Sellkit_Elementor_Optin_Field_Base {
6
7 public static function get_field_type() {
8 return 'text';
9 }
10
11 public function get_input_type() {
12 return 'text';
13 }
14
15 public function render_content() {
16 ?>
17 <input <?php echo $this->widget->get_render_attribute_string( 'field-' . esc_attr( $this->get_id() ) ); ?>>
18 <?php
19 }
20
21 public static function get_additional_controls() {
22 $commons = parent::get_common_controls();
23
24 return [
25 'label' => $commons['label'],
26 'field_value' => $commons['field_value'],
27 'placeholder' => $commons['placeholder'],
28 'required' => $commons['required'],
29 'width_responsive' => $commons['width_responsive'],
30 ];
31 }
32 }
33