WC_Abstract_Order::get_payment_tokens()
Returns a list of all payment tokens associated with the current order
Description Description
Return Return
(array) An array of payment token objects
Source Source
File: includes/abstracts/abstract-wc-order.php
public function get_payment_tokens() { return $this->data_store->get_payment_token_ids( $this ); }
Changelog Changelog
Version | Description |
---|---|
2.6 | Introduced. |