WC_Payment_Token_Data_Store_Interface::get_metadata()
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() WC Payment Token Data Store Interface::get metadata code WC 9.2.3
public function get_metadata( $token_id );