woocommerce_api_create_order_refund action-hookWC 1.0

HTTP 201 Created

Usage

add_action( 'woocommerce_api_create_order_refund', 'wp_kama_woocommerce_api_create_order_refund_action', 10, 3 );

/**
 * Function for `woocommerce_api_create_order_refund` action-hook.
 * 
 * @param  $refund_id 
 * @param  $order_id  
 * @param  $that      
 *
 * @return void
 */
function wp_kama_woocommerce_api_create_order_refund_action( $refund_id, $order_id, $that ){

	// action...
}
$refund_id
-
$order_id
-
$that
-

Where the hook is called

WC_API_Orders::create_order_refund()
woocommerce_api_create_order_refund
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 1681
do_action( 'woocommerce_api_create_order_refund', $refund->get_id(), $order_id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 1636
do_action( 'woocommerce_api_create_order_refund', $refund->get_id(), $order_id, $this );

Where the hook is used in WooCommerce

Usage not found.