woocommerce_update_order_refund
woocommerce_update_order_refund
Appears in: woocommerce.10.4.3
Hook Type: action
See hook in action
Displaying hooks found in version: woocommerce.10.4.3do_action('woocommerce_update_order_refund') is found 2 times:
- /includes/data-stores/class-wc-order-refund-data-store-cpt.php line 112
* * @param int $refund_id The order refund ID. * @param \WC_Order_Refund $refund The order refund object. */ do_action( 'woocommerce_update_order_refund', $refund->get_id(), $refund ); } /** * Helper method that updates all the post meta for an order based on it's settings in the WC_Order class. * * @param WC_Order_Refund $refund Refund object.
- /src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php line 152
// phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment /** * This action is documented in woocommerce/includes/data-stores/class-wc-order-refund-data-store-cpt.php. */ do_action( 'woocommerce_update_order_refund', $refund->get_id(), $refund ); // phpcs:enable } /** * Helper method that updates post meta based on an refund object. * Mostly used for backwards compatibility purposes in this datastore.