woocommerce_refund_created action-hookWC 1.0

Usage

add_action( 'woocommerce_refund_created', 'wp_kama_woocommerce_refund_created_action', 10, 2 );

/**
 * Function for `woocommerce_refund_created` action-hook.
 * 
 * @param  $refund_id 
 * @param  $args      
 *
 * @return void
 */
function wp_kama_woocommerce_refund_created_action( $refund_id, $args ){

	// action...
}
$refund_id
-
$args
-

Where the hook is called

wc_create_refund()
woocommerce_refund_created
woocommerce/includes/wc-order-functions.php 636
do_action( 'woocommerce_refund_created', $refund->get_id(), $args );

Where the hook is used in WooCommerce

woocommerce/src/Internal/Admin/Schedulers/OrdersScheduler.php 40
add_action( 'woocommerce_refund_created', array( __CLASS__, 'possibly_schedule_import' ) );