WC_Payment_Token_ECheck::get_last4()
Returns the last four digits.
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. |
WC_Payment_Token_ECheck::get_last4() WC Payment Token ECheck::get last4 code WC 8.7.0
public function get_last4( $context = 'view' ) { return $this->get_prop( 'last4', $context ); }