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.8.7.0

do_action('woocommerce_order_object_updated_props') is found 2 times:

  • /includes/data-stores/abstract-wc-order-data-store-cpt.php line 469
    				$updated_props[] = $prop;
    			}
    		}
    
    		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 344
    		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.