woocommerce_before_thankyou action-hookWC 1.0

Usage

add_action( 'woocommerce_before_thankyou', 'wp_kama_woocommerce_before_thankyou_action' );

/**
 * Function for `woocommerce_before_thankyou` action-hook.
 * 
 * @param  $order_id 
 *
 * @return void
 */
function wp_kama_woocommerce_before_thankyou_action( $order_id ){

	// action...
}
$order_id
-

Where the hook is called

In file: /templates/checkout/thankyou.php
woocommerce_before_thankyou
woocommerce/templates/checkout/thankyou.php 28
do_action( 'woocommerce_before_thankyou', $order->get_id() );

Where the hook is used in WooCommerce

Usage not found.