WC_Payment_Token_Data_Store_Interface::get_metadata()publicWC 1.0

Returns metadata for a specific payment token.

Method of the class: WC_Payment_Token_Data_Store_Interface{}

No Hooks.

Return

Array.

Usage

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

WC_Payment_Token_Data_Store_Interface::get_metadata() code WC 9.2.3

public function get_metadata( $token_id );