WordPress at Your Fingertips
action is not described

woocommerce_thankyou_(orderpayment_method) action-hook . WC 1.0

Usage

add_action( 'woocommerce_thankyou_(orderpayment_method)', 'action_function_name_5863' );
function action_function_name_5863( $order_id ){
	// action...
}
$order_id
-

Where the hook is called

In file: /templates/checkout/thankyou.php
woocommerce_thankyou_(orderpayment_method)
woocommerce/templates/checkout/thankyou.php 79
<?php do_action( 'woocommerce_thankyou_' . $order->get_payment_method(), $order->get_id() ); ?>

Where in WP core the hook is used WooCommerce

woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 69
add_action( 'woocommerce_thankyou_bacs', array( $this, 'thankyou_page' ) );
woocommerce/includes/gateways/cheque/class-wc-gateway-cheque.php 45
add_action( 'woocommerce_thankyou_cheque', array( $this, 'thankyou_page' ) );
woocommerce/includes/gateways/cod/class-wc-gateway-cod.php 45
add_action( 'woocommerce_thankyou_' . $this->id, array( $this, 'thankyou_page' ) );
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 91
add_filter( 'woocommerce_thankyou_order_received_text', array( $this, 'order_received_text' ), 10, 2 );
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php 35
add_action( 'woocommerce_thankyou_paypal', array( $this, 'check_response' ) );