weglot_get_parser_ignored_nodes
This filter allow you to modify the list of node ignored by Weglot.
the default list is :
$ignoredNodes = [
'strong', 'b',
'em', 'i',
'small', 'big',
'sub', 'sup',
'abbr',
'acronym',
'bdo',
'cite',
'kbd',
'q',
];
add_filter( 'weglot_get_parser_ignored_nodes', $ignored_nodes );
Last updated