Question : wpml translate slug
Answered by : envious-eagle-u3fu1h94zvzz
1
echo apply_filters( 'wpml_get_translated_slug', get_post_field( 'post_name' ), 'page', 'en'); exit();
Source : https://wpml.org/forums/topic/getting-translated-url-slug-in-a-different-language/ | Last Update : Wed, 28 Sep 22