woocommerce_order_refund_object_updated_props action-hookWC 2.7.0

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

OrdersTableRefundDataStore::update_order_meta()
woocommerce_order_refund_object_updated_props
WC_Order_Refund_Data_Store_CPT::update_post_meta()
woocommerce_order_refund_object_updated_props
woocommerce/src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php 187
do_action( 'woocommerce_order_refund_object_updated_props', $refund, $updated_props );
woocommerce/includes/data-stores/class-wc-order-refund-data-store-cpt.php 108
do_action( 'woocommerce_order_refund_object_updated_props', $refund, $updated_props );

Where the hook is used in WooCommerce

Usage not found.