# contact-forms/2.2.4/PFBC/Element/Hidden.php

Contact Forms by Cimatti, version 2.2.4. 22 lines.

- Page: https://pluginprobe.com/plugins/contact-forms/2.2.4/code/PFBC/Element/Hidden.php
- Raw: https://pluginprobe.com/plugins/contact-forms/2.2.4/raw/PFBC/Element/Hidden.php
- Modified: 2026-04-08T09:49:58+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/contact-forms/2.2.4/code/PFBC/Element/Hidden.php#L10-L20`.

```php
<?php
/**
 * PFBC (PHP Form Builder Class) - Third-party library
 * @package PFBC
 */

// phpcs:disable WordPress.Security.EscapeOutput, WordPress.NamingConventions.PrefixAllGlobals, PluginCheck.CodeAnalysis.Heredoc -- Third-party library

class Element_Hidden extends Element {
	protected $attributes = array("type" => "hidden");

	public function __construct($name, $value = "", ?array $properties = null) {
		if(!is_array($properties))
			$properties = array();

		if(!empty($value))
			$properties["value"] = $value;

		parent::__construct("", $name, $properties);
	}
}

```
