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