woocommerce_order_object_updated_props хук-событиеWC 1.0

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

add_action( 'woocommerce_order_object_updated_props', 'wp_kama_woocommerce_order_object_updated_props_action', 10, 2 );

/**
 * Function for `woocommerce_order_object_updated_props` action-hook.
 * 
 * @param  $order         
 * @param  $updated_props 
 *
 * @return void
 */
function wp_kama_woocommerce_order_object_updated_props_action( $order, $updated_props ){

	// action...
}
$order
-
$updated_props
-

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

WC_Order_Data_Store_CPT::update_post_meta()
woocommerce_order_object_updated_props
Abstract_WC_Order_Data_Store_CPT::update_post_meta()
woocommerce_order_object_updated_props
woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php 319
do_action( 'woocommerce_order_object_updated_props', $order, $updated_props );
woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php 349
do_action( 'woocommerce_order_object_updated_props', $order, $updated_props );

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

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