Support » Plugin: Transposh WordPress Translation » get translated url

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ofer Wald

    (@oferwald)

    The function translate_url in transposh_utils is what you are looking for, it is not publicly exposed or to be normally used by users, but you can see the code there and do what you need done with it, good luck 🙂

    Thanks a lot
    And the reverse is possible?
    Get the original url from the translated url ?
    It can be interested to deal with 404 pages before working in the translation table of the database.
    Thanks

    Hi, i am also interested in knowing if it is possible the reverse, get the original url from the translated url ?

    Thanks in advance for the support.

    Plugin Author Ofer Wald

    (@oferwald)

    Same file,

    The function is conveniently called:
    get_original_url

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.