Dheeraj Singh
0
Q:

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 );
1

New to Communities?

Join the community