WordPress at Your Fingertips
function is not described

WC_Payment_Token_Data_Store_Interface::get_token_type_by_id() public WC 1.0

Get a token's type by ID.

{} It's a 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.

Code of WC_Payment_Token_Data_Store_Interface::get_token_type_by_id() WC 5.7.1

public function get_token_type_by_id( $token_id );