woocommerce_thankyou

woocommerce_thankyou

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.2

do_action('woocommerce_thankyou') is found 1 times:

  • /templates/checkout/thankyou.php line 82
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
        <?php endif; ?>
     
        <?php do_action( 'woocommerce_thankyou_' . $order->get_payment_method(), $order->get_id() ); ?>
        <?php do_action( 'woocommerce_thankyou', $order->get_id() ); ?>
     
    <?php else : ?>
     
        <?php wc_get_template( 'checkout/order-received.php', array( 'order' => false ) ); ?>
     
    <?php endif; ?>

See this hook used in plugins: