WordPress at Your Fingertips
function is not described

WC_Payment_Token_Data_Store_Interface::get_token_by_id() public WC 1.0

Returns an stdObject of a token. Should contain the fields token_id, gateway_id, token, user_id, type, is_default.

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

No Hooks.

Return

Object.

Usage

$WC_Payment_Token_Data_Store_Interface = new WC_Payment_Token_Data_Store_Interface();
$WC_Payment_Token_Data_Store_Interface->get_token_by_id( $token_id );
$token_id(int) (required)
Token ID.

Code of WC_Payment_Token_Data_Store_Interface::get_token_by_id() WC 5.6.0

public function get_token_by_id( $token_id );