Checkout::include_token_id_with_payment_methods( array $list_item, WC_Token $token )

Callback for woocommerce_payment_methods_list_item filter to add token id to the generated list.


Description Description


Parameters Parameters

$list_item

(Required) The current list item for the saved payment method.

$token

(Required) The token for the current list item.


Top ↑

Return Return

(array) The list item with the token id added.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/BlockTypes/Checkout.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.