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/advanced-ads.php
<?php
defined( 'ABSPATH' ) or die( "you do not have access to this page!" );

/**
 * Whitelist a string for the cookie blocker
 * @param string $class
 * @param int $total_match
 * @param bool $found
 *
 * @return string
 */

/**
 * @param array $whitelisted_script_tags
 *
 * @return array
 */
function cmplz_advanced_ads_whitelisted_script_tags( $whitelisted_script_tags ) {
	$whitelisted_script_tags[] = 'window.advanced_ads_ready_queue'; //'string from inline script or source that should be whitelisted'
	return $whitelisted_script_tags;
}
add_filter( 'cmplz_whitelisted_script_tags', 'cmplz_advanced_ads_whitelisted_script_tags', 10, 1 );