WordPress at Your Fingertips
function is not described

WC_Payment_Token_ECheck::get_last4() public WC 2.6.0

Returns the last four digits.

{} It's a method of the class: WC_Payment_Token_ECheck{}

No Hooks.

Return

String. Last 4 digits

Usage

$WC_Payment_Token_ECheck = new WC_Payment_Token_ECheck();
$WC_Payment_Token_ECheck->get_last4( $context );
$context(string)
What the value is for. Valid values are view and edit.
Default: 'view'

Changelog

Since 2.6.0 Introduced.

Code of WC_Payment_Token_ECheck::get_last4() WC 5.9.0

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