WC_Payment_Token_Data_Store::get_metadata()
Returns metadata for a specific payment token.
Method of the class: WC_Payment_Token_Data_Store{}
No Hooks.
Return
Array
.
Usage
$WC_Payment_Token_Data_Store = new WC_Payment_Token_Data_Store(); $WC_Payment_Token_Data_Store->get_metadata( $token_id );
- $token_id(int) (required)
- Token ID.
Changelog
Since 3.0.0 | Introduced. |
WC_Payment_Token_Data_Store::get_metadata() WC Payment Token Data Store::get metadata code WC 9.4.2
public function get_metadata( $token_id ) { return get_metadata( 'payment_token', $token_id ); }