WC_Payment_Token::is_default()
Returns if the token is marked as default.
Description Description
Return Return
(boolean) True if the token is default
Source Source
File: includes/abstracts/abstract-wc-payment-token.php
public function is_default() { return (bool) $this->get_prop( 'is_default', 'view' ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |