woocommerce_refund_deleted

woocommerce_refund_deleted

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_refund_deleted') is found 1 times:

  • /includes/class-wc-ajax.php line 2241
    			if ( $refund_id && 'shop_order_refund' === OrderUtil::get_order_type( $refund_id ) ) {
    				$refund   = wc_get_order( $refund_id );
    				$order_id = $refund->get_parent_id();
    				$refund->delete( true );
    				do_action( 'woocommerce_refund_deleted', $refund_id, $order_id );
    			}
    		}
    		wp_die();
    	}
    
    	/**