woocommerce_api_edit_order_refund
Usage
add_action( 'woocommerce_api_edit_order_refund', 'wp_kama_woocommerce_api_edit_order_refund_action', 10, 3 ); /** * Function for `woocommerce_api_edit_order_refund` action-hook. * * @param $ID * @param $order_id * @param $that * * @return void */ function wp_kama_woocommerce_api_edit_order_refund_action( $ID, $order_id, $that ){ // action... }
- $ID
- -
- $order_id
- -
- $that
- -
Where the hook is called
woocommerce_api_edit_order_refund
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 1750
do_action( 'woocommerce_api_edit_order_refund', $refund->ID, $order_id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 1705
do_action( 'woocommerce_api_edit_order_refund', $refund->ID, $order_id, $this );