It seems to be a matter of changing filter priorities. CPTP_Module_Permalink::add_hook … set filter priorities to 0, as WPML sets its to 1.
Thread Starter
k8n
(@k8n)
I am sorry about that. I’m a little rusty with PHP. Thanks for accepting the change request!