get_replace_modify_link_in_xml
This filter allow you to add pattern to define kind of link you want to translate in xml.
here the list of pattern we already treat on Weglot:
array('loc' => '/<loc>(.*?)<\/loc>/');
add_filter( 'get_replace_modify_link_in_xml', [] );
Last updated