WC_Payment_Token_Data_Store_Interface::get_token_type_by_id()
Get a token's type by ID.
Method of the class: WC_Payment_Token_Data_Store_Interface{}
No Hooks.
Return
String
.
Usage
$WC_Payment_Token_Data_Store_Interface = new WC_Payment_Token_Data_Store_Interface(); $WC_Payment_Token_Data_Store_Interface->get_token_type_by_id( $token_id );
- $token_id(int) (required)
- Token ID.
WC_Payment_Token_Data_Store_Interface::get_token_type_by_id() WC Payment Token Data Store Interface::get token type by id code WC 9.6.1
public function get_token_type_by_id( $token_id );