GhostManSec
Server: LiteSpeed
System: Linux premium117.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: eblama1 (1214)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/eblama1/mintawon.farm/wp-content/plugins/complianz-gdpr/integrations/plugins/buttonizer.php
<?php
function cmplz_buttonizer_consent() {
	?>
	<script>
		document.addEventListener('cmplz_before_cookiebanner', function() {
			if (cmplz_has_consent('statistics')) {
				enableButtonizer();
			}
		});
		document.addEventListener('cmplz_status_change', function (e) {
			if (e.detail.category === 'statistics' && e.detail.value==='allow') {
				enableButtonizer();
			}
		});
	</script>
	<?php
}
add_action( 'wp_footer', 'cmplz_buttonizer_consent' );