# cookiebot/4.7.4/src/view/admin/common/templates/legacy.php

Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA &amp; Google Consent Mode, version 4.7.4. 28 lines.

- Page: https://pluginprobe.com/plugins/cookiebot/4.7.4/code/src/view/admin/common/templates/legacy.php
- Raw: https://pluginprobe.com/plugins/cookiebot/4.7.4/raw/src/view/admin/common/templates/legacy.php
- Modified: 2025-01-28T12:24:38+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/cookiebot/4.7.4/code/src/view/admin/common/templates/legacy.php#L10-L20`.

```php
<?php

/**
 * @var array $options
 */

use cybot\cookiebot\settings\templates\Legacy_Settings;

?>
<div>
	<?php
	if ( ! empty( $options ) ) {
		foreach ( $options as $option => $value ) {
			echo wp_kses(
				Legacy_Settings::get_legacy_option( $option, $value ),
				array(
					'input' => array(
						'type'  => array(),
						'value' => array(),
						'name'  => array(),
					),
				)
			);
		}
	}
	?>
</div>

```
