WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
фильтр не описан

woocommerce_payment_methods_list_item хук-фильтр . WC 1.0

Использование

add_filter( 'woocommerce_payment_methods_list_item', 'filter_function_name_6795', 10, 2 );
function filter_function_name_6795( $list[ $type ][ $key ], $payment_token ){
	// filter...

	return $list[ $type ][ $key ];
}
$list[ $type ][ $key ]
-
$payment_token
-

Где вызывается хук

wc_get_account_saved_payment_methods_list()
woocommerce_payment_methods_list_item
woocommerce/includes/wc-account-functions.php 373
$list[ $type ][ $key ] = apply_filters( 'woocommerce_payment_methods_list_item', $list[ $type ][ $key ], $payment_token );

Где используется хук в ядре WooCommerce

woocommerce/includes/wc-account-functions.php 401
add_filter( 'woocommerce_payment_methods_list_item', 'wc_get_account_saved_payment_methods_list_item_cc', 10, 2 );
woocommerce/includes/wc-account-functions.php 422
add_filter( 'woocommerce_payment_methods_list_item', 'wc_get_account_saved_payment_methods_list_item_echeck', 10, 2 );
woocommerce/includes/wc-account-functions.php 168
add_filter( 'woocommerce_payment_methods_list_item', [ $this, 'include_token_id_with_payment_methods' ], 10, 2 );
woocommerce/includes/wc-account-functions.php 173
remove_filter( 'woocommerce_payment_methods_list_item', [ $this, 'include_token_id_with_payment_methods' ], 10, 2 );