WC_Payment_Token::get_token( string $context = 'view' )

Returns the raw payment token.


Description Description


Parameters Parameters

$context

(Optional) Context in which to call this.

Default value: 'view'


Top ↑

Return Return

(string) Raw token


Top ↑

Source Source

File: includes/abstracts/abstract-wc-payment-token.php

	public function get_token( $context = 'view' ) {
		return $this->get_prop( 'token', $context );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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