Reword postfix to suffix
This commit is contained in:
parent
9e2ba43d3b
commit
5d604329fc
|
@ -55,7 +55,7 @@ jQuery(function( $ ) {
|
|||
Math.floor( Math.random() * woocommerce_admin_meta_boxes_coupon.characters.length )
|
||||
);
|
||||
}
|
||||
$result = woocommerce_admin_meta_boxes_coupon.prefix + $result + woocommerce_admin_meta_boxes_coupon.postfix;
|
||||
$result = woocommerce_admin_meta_boxes_coupon.prefix + $result + woocommerce_admin_meta_boxes_coupon.suffix;
|
||||
$coupon_code_field.focus().val( $result );
|
||||
$coupon_code_label.addClass( 'screen-reader-text' );
|
||||
}
|
||||
|
|
|
@ -283,7 +283,7 @@ if ( ! class_exists( 'WC_Admin_Assets', false ) ) :
|
|||
'characters' => apply_filters( 'woocommerce_coupon_code_generator_characters', 'ABCDEFGHJKMNPQRSTUVWXYZ23456789' ),
|
||||
'char_limit' => apply_filters( 'woocommerce_coupon_code_generator_character_limit', 8 ),
|
||||
'prefix' => apply_filters( 'woocommerce_coupon_code_generator_prefix', '' ),
|
||||
'postfix' => apply_filters( 'woocommerce_coupon_code_generator_postfix', '' ),
|
||||
'suffix' => apply_filters( 'woocommerce_coupon_code_generator_suffix', '' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue