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