WC_Abstract_Order_Data_Store_Interface::update_payment_token_ids()
Update token ids for an order.
Method of the class: WC_Abstract_Order_Data_Store_Interface{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Abstract_Order_Data_Store_Interface = new WC_Abstract_Order_Data_Store_Interface(); $WC_Abstract_Order_Data_Store_Interface->update_payment_token_ids( $order, $token_ids );
- $order(WC_Order) (required)
- Order object.
- $token_ids(array) (required)
- Token IDs.
WC_Abstract_Order_Data_Store_Interface::update_payment_token_ids() WC Abstract Order Data Store Interface::update payment token ids code WC 9.4.2
public function update_payment_token_ids( $order, $token_ids );