Allow for multiple email recipients

Allow multiple emails to be used for the low stock / out of stock email.
This commit is contained in:
Caleb Burks 2015-09-01 07:11:41 -05:00
parent 6728f5c1fe
commit c53248896e
1 changed files with 6 additions and 4 deletions

View File

@ -289,12 +289,14 @@ class WC_Settings_Products extends WC_Settings_Page {
),
array(
'title' => __( 'Notification Recipient', 'woocommerce' ),
'desc' => '',
'title' => __( 'Notification Recipient(s)', 'woocommerce' ),
'desc' => __( 'Enter recipients (comma separated) that will recieve this notification.', 'woocommerce' ),
'id' => 'woocommerce_stock_email_recipient',
'type' => 'email',
'type' => 'text',
'default' => get_option( 'admin_email' ),
'autoload' => false
'css' => 'width: 250px;',
'autoload' => false,
'desc_tip' => true
),
array(