WordPress at Your Fingertips
function is not described

Abstract_WC_Order_Data_Store_CPT::update_payment_token_ids() public WC 1.0

Update token ids for an order.

{} It's a method of the class: Abstract_WC_Order_Data_Store_CPT{}

No Hooks.

Return

null. Nothing.

Usage

$Abstract_WC_Order_Data_Store_CPT = new Abstract_WC_Order_Data_Store_CPT();
$Abstract_WC_Order_Data_Store_CPT->update_payment_token_ids( $order, $token_ids );
$order(WC_Order) (required)
Order object.
$token_ids(array) (required)
Payment token ids.

Code of Abstract_WC_Order_Data_Store_CPT::update_payment_token_ids() WC 5.8.0

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