woocommerce_thankyou_order_id filter-hookWC 1.0

Usage

add_filter( 'woocommerce_thankyou_order_id', 'wp_kama_woocommerce_thankyou_order_id_filter' );

/**
 * Function for `woocommerce_thankyou_order_id` filter-hook.
 * 
 * @param  $absint 
 *
 * @return 
 */
function wp_kama_woocommerce_thankyou_order_id_filter( $absint ){

	// filter...
	return $absint;
}
$absint
-

Where the hook is called

WC_Shortcode_Checkout::order_received()
woocommerce_thankyou_order_id
WC_Gateway_Paypal_PDT_Handler::check_response()
woocommerce_thankyou_order_id
woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php 270
$order_id  = apply_filters( 'woocommerce_thankyou_order_id', absint( $order_id ) );
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php 106
$order_id = apply_filters( 'woocommerce_thankyou_order_id', absint( $wp->query_vars['order-received'] ) );

Where the hook is used in WooCommerce

Usage not found.