woocommerce_credit_card_type_labels filter-hookWC 1.0

Usage

add_filter( 'woocommerce_credit_card_type_labels', 'wp_kama_woocommerce_credit_card_type_labels_filter' );

/**
 * Function for `woocommerce_credit_card_type_labels` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_credit_card_type_labels_filter( $array ){

	// filter...
	return $array;
}
$array
-

Where the hook is called

wc_get_credit_card_type_label()
woocommerce_credit_card_type_labels
woocommerce/includes/wc-core-functions.php 1560-1570
$labels = apply_filters(
	'woocommerce_credit_card_type_labels',
	array(
		'mastercard'       => __( 'MasterCard', 'woocommerce' ),
		'visa'             => __( 'Visa', 'woocommerce' ),
		'discover'         => __( 'Discover', 'woocommerce' ),
		'american express' => __( 'American Express', 'woocommerce' ),
		'diners'           => __( 'Diners', 'woocommerce' ),
		'jcb'              => __( 'JCB', 'woocommerce' ),
	)
);

Where the hook is used in WooCommerce

Usage not found.