Function wc_braintree_filter_customer_payment_tokens
Filter Braintree payment tokens based on the current environment. You wouldn't want to show sandbox payment tokens when the current environment is production.
Parameters summary
WC_Payment_Token[] |
$tokens |
|
integer |
$user_id |
|
string |
$gateway_id |