Multiple attribute for email box Closes #4659
This commit is contained in:
parent
35228c8d9c
commit
545441b2e3
|
@ -165,7 +165,9 @@ class WC_Meta_Box_Coupon_Data {
|
|||
echo '</div><div class="options_group">';
|
||||
|
||||
// Customers
|
||||
woocommerce_wp_text_input( array( 'id' => 'customer_email', 'label' => __( 'Email restrictions', 'woocommerce' ), 'placeholder' => __( 'No restrictions', 'woocommerce' ), 'description' => __( 'List of emails to check against the customer\'s billing email when an order is placed.', 'woocommerce' ), 'value' => implode(', ', (array) get_post_meta( $post->ID, 'customer_email', true ) ), 'desc_tip' => true, 'type' => 'email', 'class' => '' ) );
|
||||
woocommerce_wp_text_input( array( 'id' => 'customer_email', 'label' => __( 'Email restrictions', 'woocommerce' ), 'placeholder' => __( 'No restrictions', 'woocommerce' ), 'description' => __( 'List of emails to check against the customer\'s billing email when an order is placed.', 'woocommerce' ), 'value' => implode(', ', (array) get_post_meta( $post->ID, 'customer_email', true ) ), 'desc_tip' => true, 'type' => 'email', 'class' => '', 'custom_attributes' => array(
|
||||
'multiple' => 'multiple'
|
||||
) ) );
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue