add_filter( 'weglot_get_regex_checkers', 'custom_weglot_add_regex_checkers' ); function custom_weglot_add_regex_checkers( $regex_checkers ) { $regex_checkers[] = new \Weglot\Parser\Check\Regex\RegexChecker( '#data-et-multi-view="(.*)"#', 'JSON', 1, array(), "html_entity_decode" , "htmlentities" ); return $regex_checkers; }
Sarspec