woocommerce_create_refund action-hookWC 3.0.0

Action hook to adjust refund before save.

Usage

add_action( 'woocommerce_create_refund', 'wp_kama_woocommerce_create_refund_action', 10, 2 );

/**
 * Function for `woocommerce_create_refund` action-hook.
 * 
 * @param  $refund 
 * @param  $args   
 *
 * @return void
 */
function wp_kama_woocommerce_create_refund_action( $refund, $args ){

	// action...
}
$refund
-
$args
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wc_create_refund()
woocommerce_create_refund
woocommerce/includes/wc-order-functions.php 593
do_action( 'woocommerce_create_refund', $refund, $args );

Where the hook is used in WooCommerce

Usage not found.