woocommerce_order_refund_object_updated_props хук-событиеWC 2.7.0

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 Введена.

Где вызывается хук

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 );

Где используется хук в WooCommerce

Использование не найдено.