# sellkit/1.5.4/includes/elementor/modules/optin/fields/hidden.php

SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster, version 1.5.4. 32 lines.

- Page: https://pluginprobe.com/plugins/sellkit/1.5.4/code/includes/elementor/modules/optin/fields/hidden.php
- Raw: https://pluginprobe.com/plugins/sellkit/1.5.4/raw/includes/elementor/modules/optin/fields/hidden.php
- Modified: 2023-01-05T10:11:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sellkit/1.5.4/code/includes/elementor/modules/optin/fields/hidden.php#L10-L20`.

```php
<?php

defined( 'ABSPATH' ) || die();

class Sellkit_Elementor_Optin_Field_Hidden extends Sellkit_Elementor_Optin_Field_Base {

	public static function get_field_type() {
		return 'hidden';
	}

	public function get_input_type() {
		return 'hidden';
	}

	public function render_content() {
		$attrs = $this->widget->get_render_attribute_string( 'field-' . $this->get_id() );

		?>
		<input <?php echo $attrs; ?>>
		<?php
	}

	public static function get_additional_controls() {
		$commons = parent::get_common_controls();

		return [
			'label' => $commons['label'],
			'field_value' => $commons['field_value'],
		];
	}
}

```
