woocommerce_order_object_updated_props

woocommerce_order_object_updated_props

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_order_object_updated_props') is found 2 times:

  • /includes/data-stores/abstract-wc-order-data-store-cpt.php line 492
    		 * @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 367
    		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.