weglot_ajax_replace_urls

When Weglot translate json content, we don't translate all entry. With this filter you can modifiy the keys we translate for url.

by default we translate this keys :

[ 'redirecturl', 'url', 'link' ]
add_filter( 'weglot_ajax_replace_urls', [] );

Last updated