woocommerce_order_object_updated_props, $order, $updated_props
woocommerce_order_object_updated_props, $order, $updated_props
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_order_object_updated_props, $order, $updated_props') is found 2 times:
- /includes/data-stores/abstract-wc-order-data-store-cpt.php line 512
* @param string[] $updated_props Array of updated properties. * * @since 2.7.0 */ do_action( 'woocommerce_order_object_updated_props', $order, $updated_props ); } /** * Clear any caches. * * @param WC_Order $order Order object.
- /includes/data-stores/class-wc-order-data-store-cpt.php line 405
if ( in_array( 'customer_id', $updated_props, true ) ) { wc_update_user_last_active( $order->get_customer_id() ); } do_action( 'woocommerce_order_object_updated_props', $order, $updated_props ); } /** * Excerpt for post. * * @param WC_Order $order Order object.