Generates a URL so that a customer can pay for their (unpaid - pending) order. Pass 'true' for the checkout version which doesn't offer gateway choices.
$pay_url, $this
Sortie :
@param bool $on_checkout If on checkout. @return string
// Modifier la valeur avec le filtre 'woocommerce_get_checkout_payment_url'
add_filter('woocommerce_get_checkout_payment_url', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($pay_url) {
// Modifier la valeur
return $pay_url;
}
Chargement des actualités...