[ad_1]
Hi @reivorz,
As far as I can see, the problem is caused by the mismatch between the original endpoint name (‘order-received’) and its translated version (‘pedido-recibido’).
Could you try to add the below snippet to functions.php file in your child theme directory to see if the issue still persists?
function pm_unhook_translate_endpoint_function() {
global $permalink_manager;
if(!empty($permalink_manager) && property_exists($permalink_manager, 'functions')) {
remove_filter('request', array($permalink_manager->functions['language-plugins'], 'wpml_translate_wc_endpoints'), 99999);
}
}
add_action('init', 'pm_unhook_translate_endpoint_function', 100);
Thanks a lot, that solved the problem!
