woocommerce_get_checkout_order_received_url

woocommerce_get_checkout_order_received_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_checkout_order_received_url') is found 1 times:

  • /includes/class-wc-order.php line 1875
    1871
    1872
    1873
    1874
    1875
    1876
    1877
    1878
    1879
    1880
    1881
    public function get_checkout_order_received_url() {
        $order_received_url = wc_get_endpoint_url( 'order-received', $this->get_id(), wc_get_checkout_url() );
        $order_received_url = add_query_arg( 'key', $this->get_order_key(), $order_received_url );
     
        return apply_filters( 'woocommerce_get_checkout_order_received_url', $order_received_url, $this );
    }
     
    /**
     * Generates a URL so that a customer can cancel their (unpaid - pending) order.
     *
     * @param string $redirect Redirect URL.