woocommerce_get_checkout_payment_url
Usage
add_filter( 'woocommerce_get_checkout_payment_url', 'wp_kama_woocommerce_get_checkout_payment_url_filter', 10, 2 ); /** * Function for `woocommerce_get_checkout_payment_url` filter-hook. * * @param $pay_url * @param $that * * @return */ function wp_kama_woocommerce_get_checkout_payment_url_filter( $pay_url, $that ){ // filter... return $pay_url; }
- $pay_url
- -
- $that
- -
Where the hook is called
woocommerce_get_checkout_payment_url
woocommerce/includes/class-wc-order.php 1799
return apply_filters( 'woocommerce_get_checkout_payment_url', $pay_url, $this );