woocommerce_order_refund_object_updated_props
Fires after updating meta for a order refund.
Usage
add_action( 'woocommerce_order_refund_object_updated_props', 'wp_kama_woocommerce_order_refund_object_updated_props_action', 10, 2 );
/**
* Function for `woocommerce_order_refund_object_updated_props` action-hook.
*
* @param $refund
* @param $updated_props
*
* @return void
*/
function wp_kama_woocommerce_order_refund_object_updated_props_action( $refund, $updated_props ){
// action...
}
- $refund
- -
- $updated_props
- -
Changelog
| Since 2.7.0 | Introduced. |
Where the hook is called
woocommerce_order_refund_object_updated_props
woocommerce_order_refund_object_updated_props
woocommerce/src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php 195
do_action( 'woocommerce_order_refund_object_updated_props', $refund, $updated_props );
woocommerce/includes/data-stores/class-wc-order-refund-data-store-cpt.php 140
do_action( 'woocommerce_order_refund_object_updated_props', $refund, $updated_props );