GhostManSec
Server: Apache
System: Linux webm019.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: exhehbu (1008962)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/exhehbu/wp/wp-content/plugins/complianz-gdpr/integrations/plugins/weglot-translate.php
<?php
defined( 'ABSPATH' ) or die();

add_filter( 'weglot_get_regex_checkers', 'cmplz_weglot_add_regex_checkers' );
function cmplz_weglot_add_regex_checkers( $regex_checkers ) {
	$regex_checkers[] = new \Weglot\Parser\Check\Regex\RegexChecker( '#var complianz = ({.*})#', 'JSON', 1, array( 'placeholdertext', 'title' ) );
	return $regex_checkers;
}