woocommerce_coupon_options action added to write panel

This commit is contained in:
Mike Jolley 2011-10-03 11:38:16 +01:00
parent be0d96726e
commit a9d46213ba
1 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,8 @@ function woocommerce_coupon_data_meta_box($post) {
<label for="'.$field['id'].'">'.$field['label'].':</label>
<input type="text" class="short date-picker" name="'.$field['id'].'" id="'.$field['id'].'" value="'.esc_attr( $value ).'" /> <span class="description">' . __('(optional) The date this coupon will expire, <code>YYYY-MM-DD</code>', 'woothemes') . '</span></p>';
do_action('woocommerce_coupon_options');
?>
</div>
<?php