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


Top ↑

Source Source

File: includes/abstracts/abstract-wc-order.php

	public function get_payment_tokens() {
		return $this->data_store->get_payment_token_ids( $this );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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