woocommerce_refund_deleted хук-событиеWC 1.0

Использование

add_action( 'woocommerce_refund_deleted', 'wp_kama_woocommerce_refund_deleted_action', 10, 2 );

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

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

Где вызывается хук

WC_AJAX::delete_refund()
woocommerce_refund_deleted
woocommerce/includes/class-wc-ajax.php 1966
do_action( 'woocommerce_refund_deleted', $refund_id, $order_id );

Где используется хук в WooCommerce

Использование не найдено.