php menerjemahkan url wpml

 $translateUrl = apply_filters('wpml_permalink', $url); 
// return the translatation url, or the current one if not found.
ahmad-ali14