wpml get id of translated page code example
Example: wpml get translated post id
// WPML get Post on translated Language
// The only parameter you have to use is -> $postIdToTranslate
$translatedPostId = icl_object_id($postIdToTranslate, 'page', false, ICL_LANGUAGE_CODE);
$myPost = get_post( $translatedPostId );