Abstract_WC_Order_Data_Store_CPT::update_payment_token_ids( WC_Order $order, array $token_ids )

Update token ids for an order.


Description Description


Parameters Parameters

$order

(Required) Order object.

$token_ids

(Required) Payment token ids.


Top ↑

Source Source

File: includes/data-stores/abstract-wc-order-data-store-cpt.php

	public function update_payment_token_ids( $order, $token_ids ) {
		update_post_meta( $order->get_id(), '_payment_tokens', $token_ids );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.