woocommerce_order_refund_object_updated_props
Fires after updating meta for a order refund.
Использование
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
- -
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
woocommerce_order_refund_object_updated_props
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 );