Sindbad~EG File Manager

Current Path : /proc/self/cwd/wp-content/plugins/complianz-gdpr/integrations/plugins/
Upload File :
Current File : //proc/self/cwd/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;
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists