WC_Payment_Token_ECheck::get_last4( string $context = 'view' )

Returns the last four digits.


Description Description


Parameters Parameters

$context

(Optional) What the value is for. Valid values are view and edit.

Default value: 'view'


Top ↑

Return Return

(string) Last 4 digits


Top ↑

Source Source

File: includes/payment-tokens/class-wc-payment-token-echeck.php

	public function get_last4( $context = 'view' ) {
		return $this->get_prop( 'last4', $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.