A
A
Alexey Anisimov2017-09-06 13:05:13
PHP
Alexey Anisimov, 2017-09-06 13:05:13

How to add custom slug to checkout url?

There is a wordpress, woocommerce and the wpglobus plugin are pumped on it. We have foreign clients to whom we send an invoice for payment, and it contains a link to this type of payment: https://blabla.com/checkout/order-pay/7030?pay_for...
It always leads to the Russian payment page , so I need to add a slug there and bring the link to this form: https://blabla.com/en/checkout/order-pay/7030?pay_... with which I had difficulties)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Anisimov, 2017-09-10
@lxnsmv

solution: WPGlobus_Utils::localize_url()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question