Merge pull request #15682 from 1do/master
Changed misspelled filter name
This commit is contained in:
commit
22c79b2ba2
|
@ -51,6 +51,7 @@ class WC_Deprecated_Filter_Hooks extends WC_Deprecated_Hooks {
|
|||
'default_checkout_billing_state' => 'default_checkout_state',
|
||||
'default_checkout_billing_postcode' => 'default_checkout_postcode',
|
||||
'woocommerce_system_status_environment_rows' => 'woocommerce_debug_posting',
|
||||
'woocommerce_credit_card_type_labels' => 'wocommerce_credit_card_type_labels',
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
@ -1231,7 +1231,7 @@ function wc_get_credit_card_type_label( $type ) {
|
|||
$type = str_replace( '-', ' ', $type );
|
||||
$type = str_replace( '_', ' ', $type );
|
||||
|
||||
$labels = apply_filters( 'wocommerce_credit_card_type_labels', array(
|
||||
$labels = apply_filters( 'woocommerce_credit_card_type_labels', array(
|
||||
'mastercard' => __( 'MasterCard', 'woocommerce' ),
|
||||
'visa' => __( 'Visa', 'woocommerce' ),
|
||||
'discover' => __( 'Discover', 'woocommerce' ),
|
||||
|
|
Loading…
Reference in New Issue