Question : php translate url wpml
Answered by : ahmad-ali
$translateUrl = apply_filters('wpml_permalink', $url);
// return the translatation url, or the current one if not found.
Source : | Last Update : Mon, 26 Jul 21
Answered by : ahmad-ali
$translateUrl = apply_filters('wpml_permalink', $url);
// return the translatation url, or the current one if not found.
Source : | Last Update : Mon, 26 Jul 21