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

/**
 * When the recaptcha integration is enabled, rate my post won't work anymore before consent.
 * We have to add the script to the cookieblocker to prevent dependency issues.
 */

add_filter( 'cmplz_known_script_tags', 'cmplz_ratemypost_script' );
function cmplz_ratemypost_script( $tags ) {

	if (cmplz_uses_thirdparty('google-recaptcha')) {
		$tags[] = '/js/rate-my-post';
	}

	return $tags;
}