php traduzir 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.