PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.7.4
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.7.4
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 / scripts / cb_frame / publisher-restrictions-js.php

publisher-restrictions-js.php in Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode 4.7.4, at src/view/frontend/scripts/cb_frame/publisher-restrictions-js.php

28 lines 1016 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @var string $allowed_vendors
4 * @var string $allowed_google_ac_vendors
5 * @var string $allowed_purposes
6 * @var string $allowed_special_purposes
7 * @var string $allowed_features
8 * @var string $allowed_special_features
9 * @var string $vendor_restrictions
10 */
11 ?>
12 <script id="CookiebotConfiguration" type="application/json" data-cookieconsent="ignore">
13 {
14 "Frameworks": {
15 "IABTCF2": {
16 "AllowedVendors": [<?php echo esc_js( $allowed_vendors ); ?>],
17 "AllowedGoogleACVendors": [<?php echo esc_js( $allowed_google_ac_vendors ); ?>],
18 "AllowedPurposes": [<?php echo esc_js( $allowed_purposes ); ?>],
19 "AllowedSpecialPurposes": [<?php echo esc_js( $allowed_special_purposes ); ?>],
20 "AllowedFeatures": [<?php echo esc_js( $allowed_features ); ?>],
21 "AllowedSpecialFeatures": [<?php echo esc_js( $allowed_special_features ); ?>],
22 <?php //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
23 "VendorRestrictions": [<?php echo $vendor_restrictions; ?>]
24 }
25 }
26 }
27 </script>
28