PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.7.5
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.7.5
4.7.4 4.7.5 4.7.3 4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 All 95 releases
cookiebot / src / view / frontend / widgets / cookiebot-declaration-widget.php

cookiebot-declaration-widget.php in Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode 4.7.5, at src/view/frontend/widgets/cookiebot-declaration-widget.php

25 lines 977 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /** @var string $before_widget_html */
3 /** @var string $after_widget_html */
4 /** @var string $widget_title_html */
5 /** @var string $cookie_declaration_script_url */
6 /** @var string $tag_attribute_html */
7
8 echo $before_widget_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
9 ?>
10 <div class="widget-text wp_widget_plugin_box cookiebot_cookie_declaration">
11 <?php echo $widget_title_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
12 <script
13 type="text/javascript"
14 id="CookieDeclaration"
15 src="<?php echo esc_url( $cookie_declaration_script_url ); ?>"
16 <?php if ( ! empty( $culture ) && is_string( $culture ) ) : ?>
17 data-culture="<?php echo esc_attr( $culture ); ?>"
18 <?php endif; ?>
19 <?php echo $tag_attribute_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
20 >
21 </script>
22 </div>
23 <?php
24 echo $after_widget_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
25